java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.Platform.Windows 2003

Jenkins JIRA | Mattias Jiderhamn | 2 years ago
  1. 0

    Run a selenium test in saucelabs Windows7

    Stack Overflow | 2 years ago | Swaroop Tata
    java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.Platform.Windows 7
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error on setting DesiredCapabilities for SauceLabs execution

    Stack Overflow | 2 years ago | Vel Ganesh
    java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.Platform.Windows 8.1
  4. 0

    Selenium Blog by Manoj Hans: Native Android Apps Automation with WebDriver Using Appium

    blogspot.com | 11 months ago
    java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.Platform.Android
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No enum constant org.openqa.selenium.Platform.Windows 2003

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:236)
    1 frame
  3. selenium-api
    Platform.valueOf
    1. org.openqa.selenium.Platform.valueOf(Platform.java:30)
    1 frame
  4. Selenium
    DesiredCapabilities.setCapability
    1. org.openqa.selenium.remote.DesiredCapabilities.setCapability(DesiredCapabilities.java:168)
    1 frame
  5. com.saucelabs.sauce_ondemand
    SauceOnDemandSPIImpl.createWebDriver
    1. com.saucelabs.sauce_ondemand.driver.SauceOnDemandSPIImpl.createWebDriver(SauceOnDemandSPIImpl.java:157)
    2. com.saucelabs.sauce_ondemand.driver.SauceOnDemandSPIImpl.createWebDriver(SauceOnDemandSPIImpl.java:141)
    2 frames
  6. com.saucelabs.selenium
    SeleniumFactory.createWebDriver
    1. com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:320)
    2. com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:303)
    3. com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriver(SeleniumFactory.java:109)
    3 frames