org.openqa.selenium.ie.UnexpectedJavascriptExecutionException: Cannot execute script System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.1', java.version: '1.5.0_12' Driver info: driver.version: ie

Stack Overflow | user515867 | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Clicking link kills test

    Stack Overflow | 6 years ago | user515867
    org.openqa.selenium.ie.UnexpectedJavascriptExecutionException: Cannot execute script System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.1', java.version: '1.5.0_12' Driver info: driver.version: ie

    Root Cause Analysis

    1. org.openqa.selenium.ie.UnexpectedJavascriptExecutionException

      Cannot execute script System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.1', java.version: '1.5.0_12' Driver info: driver.version: ie

      at org.openqa.selenium.ie.ErrorHandler.verifyErrorCode()
    2. selenium-ie-driver
      InternetExplorerDriver.executeScript
      1. org.openqa.selenium.ie.ErrorHandler.verifyErrorCode(ErrorHandler.java:70)
      2. org.openqa.selenium.ie.InternetExplorerDriver.executeScript(InternetExplorerDriver.java:205)
      2 frames
    3. org.openqa.selenium
      Timer.run
      1. org.openqa.selenium.internal.seleniumemulation.JavascriptLibrary.callEmbeddedSelenium(JavascriptLibrary.java:47)
      2. org.openqa.selenium.internal.seleniumemulation.FireEvent.handleSeleneseCommand(FireEvent.java:35)
      3. org.openqa.selenium.internal.seleniumemulation.FireEvent.handleSeleneseCommand(FireEvent.java:1)
      4. org.openqa.selenium.internal.seleniumemulation.SeleneseCommand.apply(SeleneseCommand.java:33)
      5. org.openqa.selenium.internal.seleniumemulation.Timer.run(Timer.java:47)
      5 frames
    4. selenium-api
      WebDriverCommandProcessor.doCommand
      1. org.openqa.selenium.WebDriverCommandProcessor.execute(WebDriverCommandProcessor.java:277)
      2. org.openqa.selenium.WebDriverCommandProcessor.doCommand(WebDriverCommandProcessor.java:209)
      2 frames
    5. selenium-java
      DefaultSelenium.fireEvent
      1. com.thoughtworks.selenium.DefaultSelenium.fireEvent(DefaultSelenium.java:201)
      1 frame