drvier.executeScript()
doesn't properly cast script result when script args are omitted.
#102
Labels
drvier.executeScript()
doesn't properly cast script result when script args are omitted.
#102
It fails with
java.lang.ClassCastException: class java.lang.String cannot be cast to class org.openqa.selenium.WebElement
WebElement element = executeJavaScript("return document.activeElement", "foobar");
works fine.At least doesn't throw cast error.
The text was updated successfully, but these errors were encountered: