Created
October 3, 2017 16:40
-
-
Save gsccheng/f641e0e38a81024a1d18ca5dde6a1c65 to your computer and use it in GitHub Desktop.
Working case - chromedriver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: <main class> [options] | |
Options: | |
--version, -version | |
Displays the version and exits. | |
Default: false | |
-browserTimeout | |
<Integer> in seconds : number of seconds a browser session is allowed to | |
hang while a WebDriver command is running (example: driver.get(url)). If the | |
timeout is reached while a WebDriver command is still processing, the session | |
will quit. Minimum value is 60. An unspecified, zero, or negative value means | |
wait indefinitely. | |
Default: 0 | |
-debug | |
<Boolean> : enables LogLevel.FINE. | |
Default: false | |
-enablePassThrough | |
<Boolean>: Whether or not to use the experimental passthrough mode. | |
Defaults to true. | |
Default: true | |
-jettyThreads, -jettyMaxThreads | |
<Integer> : max number of threads for Jetty. An unspecified, zero, or | |
negative value means the Jetty default value (200) will be used. | |
-log | |
<String> filename : the filename to use for logging. If omitted, will log | |
to STDOUT | |
-port | |
<Integer> : the port number the server will use. | |
Default: 4444 | |
-role | |
<String> options are [hub], [node], or [standalone]. | |
Default: standalone | |
-timeout, -sessionTimeout | |
<Integer> in seconds : Specifies the timeout before the server | |
automatically kills a session that hasn't had any activity in the last X seconds. The | |
test slot will then be released for another test to use. This is typically | |
used to take care of client crashes. For grid hub/node roles, cleanUpCycle | |
must also be set. | |
Default: 1800 | |
09:36:38.030 INFO - Selenium build info: version: '3.5.3', revision: 'a88d25fe6b' | |
09:36:38.031 INFO - Launching a standalone Selenium Server | |
2017-10-03 09:36:38.061:INFO::main: Logging initialized @308ms to org.seleniumhq.jetty9.util.log.StdErrLog | |
09:36:38.106 INFO - Driver class not found: com.opera.core.systems.OperaDriver | |
09:36:38.124 INFO - Driver provider class org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: | |
registration capabilities Capabilities [{ensureCleanSession=true, browserName=internet explorer, version=, platform=WINDOWS}] does not match the current platform MAC | |
09:36:38.125 INFO - Driver provider class org.openqa.selenium.edge.EdgeDriver registration is skipped: | |
registration capabilities Capabilities [{browserName=MicrosoftEdge, version=, platform=WINDOWS}] does not match the current platform MAC | |
09:36:38.153 INFO - Using the passthrough mode handler | |
2017-10-03 09:36:38.171:INFO:osjs.Server:main: jetty-9.4.5.v20170502 | |
2017-10-03 09:36:38.195:WARN:osjs.SecurityHandler:main: [email protected]@61322f9d{/,null,STARTING} has uncovered http methods for path: / | |
2017-10-03 09:36:38.198:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@61322f9d{/,null,AVAILABLE} | |
java.lang.RuntimeException: java.net.BindException: Address already in use | |
at org.openqa.selenium.remote.server.SeleniumServer.boot(SeleniumServer.java:182) | |
at org.openqa.grid.selenium.GridLauncherV3$1.launch(GridLauncherV3.java:238) | |
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:99) | |
Caused by: java.net.BindException: Address already in use | |
at java.base/sun.nio.ch.Net.bind0(Native Method) | |
at java.base/sun.nio.ch.Net.bind(Net.java:433) | |
at java.base/sun.nio.ch.Net.bind(Net.java:425) | |
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:225) | |
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) | |
at org.seleniumhq.jetty9.server.ServerConnector.open(ServerConnector.java:298) | |
at org.seleniumhq.jetty9.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) | |
at org.seleniumhq.jetty9.server.ServerConnector.doStart(ServerConnector.java:236) | |
at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.seleniumhq.jetty9.server.Server.doStart(Server.java:431) | |
at org.seleniumhq.jetty9.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) | |
at org.openqa.selenium.remote.server.SeleniumServer.boot(SeleniumServer.java:180) | |
... 2 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment