-1
WebDriverException:消息:预计浏览器的二进制位置,但 无法找到默认位置二进制,没有“firefox_binary” 能力提供,并且没有二进制标志设置在命令行没有浏览器打开,同时启动Firefox 47.0.1:机器人框架
Test Environment
Windows 7
Python 2.7
RobotFramework 3.0
Selenium2Library
WebDriverException:消息:预计浏览器的二进制位置,但 无法找到默认位置二进制,没有“firefox_binary” 能力提供,并且没有二进制标志设置在命令行没有浏览器打开,同时启动Firefox 47.0.1:机器人框架
Test Environment
Windows 7
Python 2.7
RobotFramework 3.0
Selenium2Library
创建Firefox的配置 & 集木偶= $ {FALSE}
${ff default caps} Evaluate sys.modules['selenium.webdriver'].common.desired_capabilities.DesiredCapabilities.FIREFOX sys,selenium.webdriver
Set To Dictionary ${ff default caps} marionette=${False}
Set Environment Variable webdriver.gecko.driver ${drivers_dir}
${profile_dir} Set Path To ff_Profile Directory
Selenium2Library.Open Browser url=${SERVER} browser=${BROWSER} ff_profile_dir=${profile_dir}
分享您正在使用的代码和错误跟踪您正在获取 –
谢谢,Shubam我发现解决方案如下所述 –