Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/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
Ruby on rails 无法连接到chromedriver-与gem不兼容';extlib';_Ruby On Rails_Selenium_Selenium Webdriver_Capybara_Selenium Chromedriver - Fatal编程技术网

Ruby on rails 无法连接到chromedriver-与gem不兼容';extlib';

Ruby on rails 无法连接到chromedriver-与gem不兼容';extlib';,ruby-on-rails,selenium,selenium-webdriver,capybara,selenium-chromedriver,Ruby On Rails,Selenium,Selenium Webdriver,Capybara,Selenium Chromedriver,我已经将最新版本的selenium webdriver与capybara和cucumber集成在一起。 如果我尝试使用firefox作为selenium驱动程序运行rake任务,则会出现“Childprocess:LaunchError”错误,如果将chromedriver设置为默认selenium驱动程序,则会抛出“无法连接chromedriver”错误 正如建议的那样,我已经设置了所有chromedriver路径。也使用gem“chromedriver助手”。但是没有一个是有效的。我开始检查

我已经将最新版本的selenium webdriver与capybara和cucumber集成在一起。 如果我尝试使用firefox作为selenium驱动程序运行rake任务,则会出现“Childprocess:LaunchError”错误,如果将chromedriver设置为默认selenium驱动程序,则会抛出“无法连接chromedriver”错误


正如建议的那样,我已经设置了所有chromedriver路径。也使用gem“chromedriver助手”。但是没有一个是有效的。

我开始检查所有的gem,以检查与某些gem的不兼容性,并找到了解决方案

gem“extlib”正在产生不兼容问题。卸载此gem后,一切正常。由于这个应用程序最初是在rails 2中开发的,所以这个gem在当时被使用