You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not instantiate new WebDriver instance if ONLY 'webdriver.capabilities.browserName' set and neither legacy 'webdriver.remote.driver' nor 'webdriver.driver' properties
#2947
Closed
arustamov opened this issue
Oct 20, 2022
· 3 comments
So with the following config:
webdriver.capabilities.browserName - set
webdriver.remote.driver - NOT set
webdriver.driver - NOT set
Caused by: net.thucydides.core.webdriver.DriverConfigurationError:
Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (Remote driver not specified - you need to specify the name of the remote driver either in the webdriver.capabilities.browserName or in the legacy webdriver.remote.driver or webdriver.driver properties.). See below for more details.
The text was updated successfully, but these errors were encountered:
arustamov
changed the title
Could not instantiate new WebDriver instance if ONLY webdriver.capabilities.browserName and neither legacy webdriver.remote.driver nor webdriver.driver properties
Could not instantiate new WebDriver instance if ONLY webdriver.capabilities.browserName set and neither legacy webdriver.remote.driver nor webdriver.driver properties
Oct 20, 2022
arustamov
changed the title
Could not instantiate new WebDriver instance if ONLY webdriver.capabilities.browserName set and neither legacy webdriver.remote.driver nor webdriver.driver properties
Could not instantiate new WebDriver instance if ONLY 'webdriver.capabilities.browserName' set and neither legacy 'webdriver.remote.driver' nor 'webdriver.driver' properties
Oct 20, 2022
Then the error message looks misleading, doesn't it?
public static final String MISSING_REMOTE_DRIVER_PROPERTY = "Remote driver not specified - you need to specify the name of the remote driver either in the webdriver.capabilities.browserName or in the legacy webdriver.remote.driver or webdriver.driver properties.";
So with the following config:
webdriver.capabilities.browserName - set
webdriver.remote.driver - NOT set
webdriver.driver - NOT set
Caused by: net.thucydides.core.webdriver.DriverConfigurationError:
Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (Remote driver not specified - you need to specify the name of the remote driver either in the webdriver.capabilities.browserName or in the legacy webdriver.remote.driver or webdriver.driver properties.). See below for more details.
The text was updated successfully, but these errors were encountered: