Hot answers tagged ruby
I was facing a similar issue, and found a solution in this article: http://swdandruby.wordpress.com/2013/05/11/headless-gem-causes-errnoeconnrefused/ You have to specify a different display number for each browser headless instances you need. So if you want to run at the same time chrome and firefox in separate headless mode, you can do something like: ...
There were a few possible solutions to this over on Stackoverflow on Stop browser load from selenium webdriver. This included: Installing an extension in Chrome called Stop load using the built in pageLoadTimeout() method in Selenium using Sikuli or Autoit to access the browser's native controls
Only top voted, non community-wiki answers of a minimum length are eligible