Skip to main content

Posts

Showing posts with the label could not start selenium

Could not start Selenium session: You may not start more than one session at a time

Error is: java.lang.RuntimeException: Could not start Selenium session: You may not start more than one session at a time at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:107)   If you get this error on Selenium then this might be the problem… If in your test you are using a webdriver to create the DefaultSelenium or Selenium object then remove this line from your code:         selenium.start(); Happy Testing