Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Selenium opens firefox question

Shulou Source: shulou.com Published: 2022-06-03 06:35:37 09月23日 Update

1. Unable to open the firefox browser

Solution: uninstall firefox and reinstall firefox (default path installation)

2 、

# encoding:gbk

Require 'selenium-webdriver'

Ie=Selenium::WebDriver.for: firefox

After the script opens firefox, the Import Wizard opens by default

Opening the discovery will take you to the Import Wizard page.

Resolve:

a. Search for profiles.ini on disk C

In b.profiles.ini, change IsRelative=1 to IsRelative=0

Start it again and it will open normally.

Tags: Wizard again script path page a. search question Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Xiaomi Linux Apple NVidia