Selenium opens firefox question
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.