0

Why do I get following errors to execute script in internet explorer :

1. org.openqa.selenium.WebDriverException: Returned value cannot be converted to WebElement: {stacktrace=, error=invalid session id, message=session null does not exist}

2. Caused by: java.lang.ClassCastException: com.google.common.collect.Maps$TransformedEntriesMap cannot be cast to org.openqa.selenium.WebElement 
  • 2
    Share your script as well, not just the error messages. – Bence Kaulics Dec 8 '18 at 11:17
1

This is probably a mismatch between the browser version and Selenium.

https://stackoverflow.com/a/51023244

Also, IE requires additional configuration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.