Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Anithamq
, 1 year ago
documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52' System info: host: 'lenovo-PC', ip: '192.168.0.21', os.name: 'Windows 7
via Stack Overflow by user2325154
, 1 year ago
invalid selector: Compound class names not permitted. *** Element info: {Using=class name, value=swatch-option color}
via Stack Overflow by mskumar
, 1 year ago
invalid selector: Unable to locate an element with the xpath expression
via GitHub by irileydev
, 1 year ago
seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:16:47' System info: host: 'NY12LP517735', ip
via Stack Overflow by bluemunch
, 1 year ago
information) Command duration or timeout: 77 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System
via Software Quality Assurance & Testing by NeHa NeHz
, 7 months ago
provide any stacktrace information) Command duration or timeout: 0 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '3.6.0', revision: '6fbf3ec767', time
org.openqa.selenium.InvalidSelectorException: The xpath expression '//*[contains(@href,'javascript:void(0)')])[5]' cannot be evaluated or does notresult in a WebElement (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 93 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html
Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52'
System info: host: 'lenovo-PC', ip: '192.168.0.21', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, pageLoadStrategy=normal, ie.usePerProcessProxy=false, ignoreZoomSetting=false, handlesAlerts=true, version=9, platform=WINDOWS, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=, requireWindowFocus=false, browserName=internet explorer, initialBrowserUrl=http://localhost:42843/, takesScreenshot=true, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=dismiss}]
Session ID: 3a3aeacd-4d01-43ed-9e38-fd0dc081da63
*** Element info: {Using=xpath, value=//*[contains(@href,'javascript:void(0)')])[5]}	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:422)	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353)	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:490)	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:345)	at readExcelData.Wschools.main(Wschools.java:19)