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
Hi,
I am trying to run the wct tests on my local machine. The versions of libraries I am using are:
wct: 6.7.1
polymer: 2
selenium standalone: selenium-server-standalone-3.12.0.jar
java version: 10.0.1
OS: windows 7, 64 bit
chrome browser: Version 67.0.3396.99
I have configured the webdrivers versions manually by copying the drivers and jar from the following locations:
chromedriver: https://chromedriver.storage.googleapis.com/2.40/chromedriver_win32.zip
iedriver: https://selenium-release.storage.googleapis.com/3.12/IEDriverServer_x64_3.12.0.zip
firefox: https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-win64.zip
edgedriver: https://download.microsoft.com/download/F/8/A/F8AF50AB-3C3A-4BC4-8773-DC27B32988DD/MicrosoftWebDriver.exe
selenium: https://selenium-release.storage.googleapis.com/3.12/selenium-server-standalone-3.12.0.jar
Then I ran the command: wct -l chrome --skip-selenium-install
FWIW, WCT doesn't work with Java 10, you need Java 8. See #405. However, the error you are getting does not fit the error I was getting but perhaps it's due to the mac/windows difference?
Hi,
I am trying to run the wct tests on my local machine. The versions of libraries I am using are:
wct: 6.7.1
polymer: 2
selenium standalone: selenium-server-standalone-3.12.0.jar
java version: 10.0.1
OS: windows 7, 64 bit
chrome browser: Version 67.0.3396.99
I have configured the webdrivers versions manually by copying the drivers and jar from the following locations:
chromedriver:
https://chromedriver.storage.googleapis.com/2.40/chromedriver_win32.zip
iedriver:
https://selenium-release.storage.googleapis.com/3.12/IEDriverServer_x64_3.12.0.zip
firefox:
https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-win64.zip
edgedriver:
https://download.microsoft.com/download/F/8/A/F8AF50AB-3C3A-4BC4-8773-DC27B32988DD/MicrosoftWebDriver.exe
selenium:
https://selenium-release.storage.googleapis.com/3.12/selenium-server-standalone-3.12.0.jar
Then I ran the command:
wct -l chrome --skip-selenium-install
This command is failing with following trace:
Starting Selenium server for local browsers
Selenium server running on port 59094
chrome 67 Tests failed: {"value":{"stacktrace":"org.openqa.selenium.SessionNotCreatedException: Unable to create new service: ChromeDriverService\nBuild info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T15:15:08.936Z'\nSystem info: host: 'WPU8L0029276', ip: '192.168.56.1
', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '10.0.1'\nDriver info: driver.version: unknown\r\n\tat org.openqa.selenium.remote.server.ServicedSession$Factory.lambda$get$0(ServicedSession.java:133)\r\n\tat org.openqa.selenium.remote.server.ServicedSession$Factory.apply(
ServicedSession.java:150)\r\n\tat org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$apply$12(ActiveSessionFactory.java:176)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)\r\n
\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline
.copyIntoWithCancel(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)\r\n\tat java.base/
java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.ActiveSessionFactory.apply(ActiveSessionFactory.java:179)\r\n\tat org.openqa.selenium.remote.server.NewSessionPipeline.l
ambda$null$2(NewSessionPipeline.java:65)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.base/java.util.Collections$2.tryAdvance(Unknown Source)\r\n\tat java.base/java.util.st
ream.ReferencePipeline.forEachWithCancel(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Sou
rce)\r\n\tat java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.NewSessionPi
peline.lambda$createNewSession$3(NewSessionPipeline.java:68)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
\r\n\tat java.base/java.util.stream.DistinctOps$1$2.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(U
nknown Source)\r\n\tat java.base/java.util.stream.Streams$StreamBuilderImpl.tryAdvance(Unknown Source)\r\n\tat java.base/java.util.stream.Streams$ConcatSpliterator.tryAdvance(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)\r\n\tat java.base/java
.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.base/java.util.stream.FindOps$FindOp.evaluateSequential(Unkno
wn Source)\r\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.base/java.util.stream.ReferencePipeline.findFirst(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.NewSessionPipeline.createNewSession(NewSessionPipeline.java:71)\r\n\tat org.openqa.selenium
.remote.server.commandhandler.BeginSession.execute(BeginSession.java:65)\r\n\tat org.openqa.selenium.remote.server.WebDriverServlet.lambda$handle$1(WebDriverServlet.java:246)\r\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n\tat java.base/java.util.concurrent.
FutureTask.run(Unknown Source)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.base/java.lang.Thread.run(Unknown Source)\r\nCaused by: java.lang.reflect.InvocationTar
getException\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.base/java
.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.ServicedSession$Factory.lambda$get$0(ServicedSession.java:129)\r\n\t... 50 more\r\nCaused by: java.lang.IllegalStateException: The driver executable is a directory: C:\Users\JF63LG.AD\AppData\Roaming\npm\node
_modules\web-component-tester\node_modules\selenium-standalone\.selenium\chromedriver\2.40-x64-chromedriver\r\n\tat com.google.common.base.Preconditions.checkState(Preconditions.java:585)\r\n\tat org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:138)\r\n\tat o
rg.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:131)\r\n\tat org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:33)\r\n\tat org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:139)\r\n
The text was updated successfully, but these errors were encountered: