Closed Abhinav897 closed 3 years ago
@Abhinav897 I have fixed this issue and released the version 2.1.4
. Check it out. Thank you 😊.
Hi Sridhar, i tried by downloading the 2.1.4 jar and keeping it in class path , i am still getting below error, please need you help
public static String RUNNER = "window.HTMLCS_RUNNER.run('%s');";
org.openqa.selenium.WebDriverException: unknown error: Cannot read property 'run' of undefined (Session info: chrome=87.0.4280.66)
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:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:671)
at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:573)
at com.accessbility.driver.DriverContext.executeScript(DriverContext.java:68)
at com.accessbility.AccessibilityRunner.execute(AccessibilityRunner.java:63)
__
Hi Sridhar, i tried by downloading the 2.1.4 jar and keeping it in class path , i am still getting below error, please need you help
public static String RUNNER = "window.HTMLCS_RUNNER.run('%s');";
org.openqa.selenium.WebDriverException: unknown error: Cannot read property 'run' of undefined (Session info: chrome=87.0.4280.66)
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:423) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:671) at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:573) at com.accessbility.driver.DriverContext.executeScript(DriverContext.java:68) at com.accessbility.AccessibilityRunner.execute(AccessibilityRunner.java:63)
Hi @anukodali83, post the snippet you are using and the application URL as well.
Hi Sridhar, the issue is resolved with your help Thanks for your quick response and help
Hi,
While executing the code I'm getting the below error on the execute method can you please help me out with this, Exception in thread "main" org.openqa.selenium.JavascriptException: javascript error: Cannot read property 'run' of undefined (Session info: chrome=84.0.4147.125)