xolvio / rtd

DEPRECATED: The Test Runner for Meteor
164 stars 37 forks source link

ChromeDriver failure when using CucumberJs #147

Open AdrienLemaire opened 10 years ago

AdrienLemaire commented 10 years ago

We started to work on features, now that Cucumberjs supports steps outlines. And when trying to implement the first action in the first step, chromedriver fails.

Code is here: https://github.com/CoinsManager/CoinsManager/pull/51/files

And we get the following error:

Fatal error: unknown error: unable to discover open pages
  (Driver info: chromedriver=2.0,platform=Linux 3.13.5-1-ARCH x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20.33 seconds
Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.5-1-ARCH', java.version: '1.7.0_51'
Driver info: org.openqa.selenium.chrome.ChromeDriver

Any idea how to solve this?

Another thing, not a bug but annoying: Before getting the error, rtd is opening a new browser page in a new window. Because I'm using a tiling manager, I'd really prefer having a new tab opened in my existing chromium session window. Is there a config for that?

xolvio commented 10 years ago

Can't say I've seen this. This may help: https://code.google.com/p/chromedriver/issues/detail?id=415

samhatoum commented 10 years ago

I haven't seen a settings for opening new tabs by the way, but I would love to know one in webdriver.

Did you get this resolved?