Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created August 27, 2020 18:13
Show Gist options
  • Save seleniumgists/72666294d5ec17bd9b48406af42adf98 to your computer and use it in GitHub Desktop.
Save seleniumgists/72666294d5ec17bd9b48406af42adf98 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=62206:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/lib/tools.jar:/Users/test/personal/selenium/target/classes:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-java/4.0.0-alpha-6/selenium-java-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-api/4.0.0-alpha-6/selenium-api-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-edge-driver/4.0.0-alpha-6/selenium-edge-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-edgehtml-driver/4.0.0-alpha-6/selenium-edgehtml-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-firefox-driver/4.0.0-alpha-6/selenium-firefox-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-firefox-xpi-driver/4.0.0-alpha-6/selenium-firefox-xpi-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-ie-driver/4.0.0-alpha-6/selenium-ie-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-opera-driver/4.0.0-alpha-6/selenium-opera-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/4.0.0-alpha-6/selenium-remote-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/com/squareup/okhttp3/okhttp/4.5.0/okhttp-4.5.0.jar:/Users/test/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.3.70/kotlin-stdlib-1.3.70.jar:/Users/test/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar:/Users/test/.m2/repository/com/squareup/okio/okio/2.6.0/okio-2.6.0.jar:/Users/test/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib-common/1.3.70/kotlin-stdlib-common-1.3.70.jar:/Users/test/.m2/repository/com/typesafe/netty/netty-reactive-streams/2.0.4/netty-reactive-streams-2.0.4.jar:/Users/test/.m2/repository/io/netty/netty-handler/4.1.43.Final/netty-handler-4.1.43.Final.jar:/Users/test/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/test/.m2/repository/io/grpc/grpc-context/1.28.0/grpc-context-1.28.0.jar:/Users/test/.m2/repository/io/netty/netty-buffer/4.1.49.Final/netty-buffer-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-common/4.1.49.Final/netty-common-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-codec-http/4.1.49.Final/netty-codec-http-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-codec/4.1.49.Final/netty-codec-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-transport-native-epoll/4.1.49.Final/netty-transport-native-epoll-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-transport-native-epoll/4.1.49.Final/netty-transport-native-epoll-4.1.49.Final-linux-x86_64.jar:/Users/test/.m2/repository/io/netty/netty-transport-native-kqueue/4.1.49.Final/netty-transport-native-kqueue-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-transport-native-kqueue/4.1.49.Final/netty-transport-native-kqueue-4.1.49.Final-osx-x86_64.jar:/Users/test/.m2/repository/io/netty/netty-transport-native-unix-common/4.1.49.Final/netty-transport-native-unix-common-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-transport/4.1.49.Final/netty-transport-4.1.49.Final.jar:/Users/test/.m2/repository/io/netty/netty-resolver/4.1.49.Final/netty-resolver-4.1.49.Final.jar:/Users/test/.m2/repository/io/opentelemetry/opentelemetry-api/0.4.0/opentelemetry-api-0.4.0.jar:/Users/test/.m2/repository/io/opentelemetry/opentelemetry-context-prop/0.4.0/opentelemetry-context-prop-0.4.0.jar:/Users/test/.m2/repository/io/opentelemetry/opentelemetry-sdk/0.4.0/opentelemetry-sdk-0.4.0.jar:/Users/test/.m2/repository/io/projectreactor/netty/reactor-netty/0.9.6.RELEASE/reactor-netty-0.9.6.RELEASE.jar:/Users/test/.m2/repository/io/netty/netty-codec-http2/4.1.48.Final/netty-codec-http2-4.1.48.Final.jar:/Users/test/.m2/repository/io/netty/netty-handler-proxy/4.1.48.Final/netty-handler-proxy-4.1.48.Final.jar:/Users/test/.m2/repository/io/projectreactor/reactor-core/3.3.5.RELEASE/reactor-core-3.3.5.RELEASE.jar:/Users/test/.m2/repository/net/bytebuddy/byte-buddy/1.10.9/byte-buddy-1.10.9.jar:/Users/test/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/test/.m2/repository/org/asynchttpclient/async-http-client/2.12.1/async-http-client-2.12.1.jar:/Users/test/.m2/repository/org/asynchttpclient/async-http-client-netty-utils/2.12.1/async-http-client-netty-utils-2.12.1.jar:/Users/test/.m2/repository/io/netty/netty-codec-socks/4.1.48.Final/netty-codec-socks-4.1.48.Final.jar:/Users/test/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/Users/test/.m2/repository/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-safari-driver/4.0.0-alpha-6/selenium-safari-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-support/4.0.0-alpha-6/selenium-support-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-chrome-driver/4.0.0-alpha-6/selenium-chrome-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/com/google/auto/service/auto-service-annotations/1.0-rc6/auto-service-annotations-1.0-rc6.jar:/Users/test/.m2/repository/com/google/auto/service/auto-service/1.0-rc6/auto-service-1.0-rc6.jar:/Users/test/.m2/repository/com/google/auto/auto-common/0.10/auto-common-0.10.jar:/Users/test/.m2/repository/com/google/guava/guava/29.0-jre/guava-29.0-jre.jar:/Users/test/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/Users/test/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/Users/test/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar:/Users/test/.m2/repository/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1.jar:/Users/test/.m2/repository/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar:/Users/test/.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-chromium-driver/4.0.0-alpha-6/selenium-chromium-driver-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-devtools/4.0.0-alpha-6/selenium-devtools-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-http/4.0.0-alpha-6/selenium-http-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/seleniumhq/selenium/selenium-json/4.0.0-alpha-6/selenium-json-4.0.0-alpha-6.jar:/Users/test/.m2/repository/org/testng/testng/7.3.0/testng-7.3.0.jar:/Users/test/.m2/repository/com/beust/jcommander/1.78/jcommander-1.78.jar:/Users/test/.m2/repository/org/apache/ant/ant/1.10.3/ant-1.10.3.jar:/Users/test/.m2/repository/org/apache/ant/ant-launcher/1.10.3/ant-launcher-1.10.3.jar:/Users/test/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/test/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/test/.m2/repository/com/google/inject/guice/4.2.2/guice-4.2.2-no_aop.jar:/Users/test/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/test/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/test/.m2/repository/org/yaml/snakeyaml/1.21/snakeyaml-1.21.jar TestLinkedinChrome
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Starting ChromeDriver 84.0.4147.30 (48b3e868b4cc0aa7e8149519690b6f6949e110a8-refs/branch-heads/4147@{#310}) on port 2805
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Aug 27, 2020 3:07:34 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Exception in thread "main" org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.xpath: //[@id='ember543'] (tried for 15 second(s) with 100 milliseconds interval)
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:255)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath expression //[@id='ember543'] because of the following error:
SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//[@id='ember543']' is not a valid XPath expression.
(Session info: chrome=84.0.4147.135)
For documentation on this error, please visit: https://selenium.dev/exceptions/#invalid_selector_exception
Build info: version: '4.0.0-alpha-6', revision: '5f43a29cfc'
System info: host: 'users-MacBook-Pro.local', ip: '2800:810:464:8b34:0:0:0:4%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.6', java.version: '1.8.0_265'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 84.0.4147.135, chrome: {chromedriverVersion: 84.0.4147.30 (48b3e868b4cc0..., userDataDir: /var/folders/cc/l7n4cgf52jx...}, goog:chromeOptions: {debuggerAddress: localhost:62237}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true}
Session ID: f10a08f759ba5bdea56fbb7e4149c794
*** Element info: {Using=xpath, value=//[@id='ember543']}
at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:196)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:129)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:160)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:582)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:333)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:451)
at org.openqa.selenium.By$ByXPath.findElement(By.java:394)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:325)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:182)
at org.openqa.selenium.support.ui.ExpectedConditions$6.apply(ExpectedConditions.java:179)
at org.openqa.selenium.support.ui.FluentWait.lambda$checkConditionInLoop$2(FluentWait.java:233)
... 6 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment