Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using Chrome #18

Closed
soulgalore opened this issue Oct 5, 2013 · 5 comments
Closed

Error using Chrome #18

soulgalore opened this issue Oct 5, 2013 · 5 comments
Labels

Comments

@soulgalore
Copy link
Member

Sometimes I get this error when using in Chrome:

1) Error injecting constructor, org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages
  (Driver info: chromedriver=2.4.226086,platform=Mac OS X 10.8.5 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 27.11 seconds
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.6.0_27'
Driver info: org.openqa.selenium.chrome.ChromeDriver
  at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:107)
  while locating org.openqa.selenium.chrome.ChromeDriver
  while locating org.openqa.selenium.WebDriver
    for parameter 0 at com.soulgalore.web.browsertime.SeleniumTimingRunner.(SeleniumTimingRunner.java:53)
  while locating com.soulgalore.web.browsertime.SeleniumTimingRunner
  while locating com.soulgalore.web.browsertime.TimingRunner
    for field at com.soulgalore.web.browsertime.run.TimingController.runner(TimingController.java:32)
  while locating com.soulgalore.web.browsertime.run.TimingController
@soulgalore
Copy link
Member Author

I get this quite often now, when I run tests on multiple pages. Seen that on Windows the "--no-sandbox" switch made it work but that doesn't seem the best solution, will try it out however.

@soulgalore
Copy link
Member Author

Think also we need to catch the error hmm:

tarting ChromeDriver (v2.4.226086) on port 41182
Exception in thread "main" com.google.inject.ProvisionException: Guice provision errors:
1) Error injecting constructor, org.openqa.selenium.WebDriverException: chrome not reachable
  (Driver info: chromedriver=2.4.226086,platform=Mac OS X 10.8.5 x86_64) (WARNING: The server did not provide any stacktrace information)

@soulgalore
Copy link
Member Author

The "--no-sandbox" actually don't do the trick :(

@soulgalore
Copy link
Member Author

This doesn't seems to be an issue anymore now when Chrome is closed between runs, YES! will test some more later today to be sure. ping @tobli

@soulgalore
Copy link
Member Author

works much better now, closes this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant