2
我想将Firefox配置文件设置为以下驱动程序:如何设置Firefox配置文件一硒的webdriver遥控器上使用Ruby
driver = Selenium::WebDriver.for :remote, :url => "http://localhost:4444/wd/hub", :desired_capabilities => :firefox
我试着加入:
profile = Selenium::WebDriver::Firefox::Profile.new
profile['browser.download.downloadDir'] = '/home/seluser'
driver = Selenium::WebDriver.for :remote, :url => "http://localhost:4444/wd/hub", :desired_capabilities => :firefox, :profile => profile
但配置文件选项不存在
感谢
你知道如何启用Chrome插件的Chrome插件吗? – Richlewis