You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon running any tests (all were previously working), chromedriver is crashing.
Selenium output:
12:13:55.692 INFO - SessionCleaner initialized with insideBrowserTimeout 0 and clientGoneTimeout 1800000 polling every 180000
12:13:55.725 INFO - Executing: [new session: Capabilities [{acceptSslCerts=true, phantomjs.binary.path=./lib/phantomjs, name=**my site** / Search, browserName=chrome, javascriptEnabled=true, chromeOptions={args=[start-kiosk], prefs={download={default_directory=./test-files/downloads/, prompt_for_download=false}}}, platform=ANY}]])
12:13:55.742 INFO - Creating a new session for Capabilities [{acceptSslCerts=true, phantomjs.binary.path=./lib/phantomjs, name=**my site** / Search, browserName=chrome, javascriptEnabled=true, chromeOptions={args=[start-kiosk], prefs={download={default_directory=./test-files/downloads/, prompt_for_download=false}}}, platform=ANY}]
Starting ChromeDriver 2.13.307650 (feffe1dd547ee7b5c16d38784cd0cd679dfd7850) on port 25433
Only local connections are allowed.
12:13:56.196 INFO - Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
12:13:56.868 INFO - Detected dialect: OSS
12:13:56.883 INFO - Done: [new session: Capabilities [{acceptSslCerts=true, phantomjs.binary.path=./lib/phantomjs, name=**my site** / Search, browserName=chrome, javascriptEnabled=true, chromeOptions={args=[start-kiosk], prefs={download={default_directory=./test-files/downloads/, prompt_for_download=false}}}, platform=ANY}]]
12:13:56.898 INFO - Executing: [get: https://**my site** ])
12:13:57.523 WARN - Exception thrown
org.openqa.selenium.WebDriverException: unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"73757.1","isDefault":true},"id":1,"name":"","origin":"://"}
(Session info: chrome=54.0.2840.71)
(Driver info: chromedriver=2.13.307650 (feffe1dd547ee7b5c16d38784cd0cd679dfd7850),platform=Mac OS X 10.11.6 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 19 milliseconds
Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System info: host: '**my computer** ', ip: '10.0.1.2', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_31'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/var/folders/5w/jh9886055gndhfs4y3c8mfd40000gn/T/.org.chromium.Chromium.xwDlJP}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, version=54.0.2840.71, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 23364f0f90fbb61bad760ccbeea45f6c
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:635)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:322)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:103)
at com.sun.proxy.$Proxy4.get(Unknown Source)
at org.openqa.selenium.support.events.EventFiringWebDriver.get(EventFiringWebDriver.java:162)
at org.openqa.selenium.remote.server.handler.ChangeUrl.call(ChangeUrl.java:40)
at org.openqa.selenium.remote.server.handler.ChangeUrl.call(ChangeUrl.java:25)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12:13:57.526 WARN - Exception: unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"73757.1","isDefault":true},"id":1,"name":"","origin":"://"}
(Session info: chrome=54.0.2840.71)
(Driver info: chromedriver=2.13.307650 (feffe1dd547ee7b5c16d38784cd0cd679dfd7850),platform=Mac OS X 10.11.6 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 19 milliseconds
A new chrome instance is created with the url data', and chromedriver immedieatley crashes. I've tested with versions 2.20 through 2.25, all with the same issue. Chromedriver in isolation is running fine:
Last login: Thu Oct 27 12:21:43 on ttys003
**path**/chromedriver ; exit;
➜ ~ **path**/chromedriver ; exit;
Starting ChromeDriver 2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1) on port 9515
Only local connections are allowed.
I'm running node v4.4.3 with nightwatch v0.9.8.
The text was updated successfully, but these errors were encountered:
This is unlikely a problem in Nightwatch, but if you believe it is feel free to re-open and please try to follow the steps for submitting an issue which are detailed in the contributing guidelines.
@amarpatel I too was having the issue. Upon experimenting with different chrome drivers I ws able to get it to work.
In my case, Chrome v52.0.2743.116 does not work with the chrome driver v2.28/7. I reverted to chrome driver to 2.22 to make it work.
For v2.28/7 Chrome driver server as a stand alone does start but is not able to work with the chrome instance. Might be just compatibility issue.
Upon running any tests (all were previously working), chromedriver is crashing.
Selenium output:
A new chrome instance is created with the url
data',
and chromedriver immedieatley crashes. I've tested with versions 2.20 through 2.25, all with the same issue. Chromedriver in isolation is running fine:I'm running node v4.4.3 with nightwatch v0.9.8.
The text was updated successfully, but these errors were encountered: