Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 为什么在我访问页面时,在Cucumber场景中会出现Selenium::WebDriver错误?_Google Chrome_Cucumber_Capybara_Selenium Chromedriver - Fatal编程技术网

Google chrome 为什么在我访问页面时,在Cucumber场景中会出现Selenium::WebDriver错误?

Google chrome 为什么在我访问页面时,在Cucumber场景中会出现Selenium::WebDriver错误?,google-chrome,cucumber,capybara,selenium-chromedriver,Google Chrome,Cucumber,Capybara,Selenium Chromedriver,此方法已在cucumber项目中的**.rb文件中实现,并应计算用户id(oid)和登录。它突然失败,因为visit发送了一个空页面,并出现以下错误消息:(顺便说一句,我不知道系统中有什么变化,我可以手动计算oid,然后login直接键入url) 有人能帮我吗 def login_with_oid(oid=null) oid = get_context(:oid) unless oid visit "/admin/authentifizierung/zidauth?oid=#{o

此方法已在cucumber项目中的
**.rb
文件中实现,并应计算
用户id(oid)
登录
。它突然失败,因为
visit
发送了一个空页面,并出现以下错误消息:(顺便说一句,我不知道系统中有什么变化,我可以手动计算
oid
,然后
login
直接键入url)

有人能帮我吗

def login_with_oid(oid=null)
    oid = get_context(:oid) unless oid
    visit "/admin/authentifizierung/zidauth?oid=#{oid}"
end


    Selenium::WebDriver::Error::UnknownError: Unknown command 'WaitForAllTabsToStopLoading'. Options: AcceptOrDismissAppModalDialog, ActionOnSSLBlockingPage, ActivateTab, AddBookmark, 
    ...
当前安装的:

ChromeDriver 26.0.1383.0 /usr/local/bin/chromedriver
Google Chrome   29.0.1547.76

下:Ubuntu 12.04.3 LTS

ChromeDriver 26.0.1383.0/usr/local/bin/ChromeDriver谷歌Chrome 29.0.1547.76