-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saucelabs configuration does not work, however if we set it up at below remote driver works, any suggestion? #2717
Comments
See this file for an example of how to configure Serenity with Saucelabs: https://github.com/serenity-bdd/serenity-core/blob/master/serenity-smoketests/src/test/resources/serenity.conf |
serenity conf file :
serenity { driver is getting initialised through : Facing the issue : net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate class org.openqa.selenium.remote.RemoteWebDriver |
@wakaleo I ran into a similar issue where the remote web driver could not be instantiated. I followed the SauceLabs guide and have also tried the sample configuration in the same serenity.conf file and had no success. Here's my serenity.conf
|
What works:
@OverRide
public WebDriver newDriver(){
try {
ChromeOptions options = new ChromeOptions();
options.setPlatformName("Windows 11");
options.setBrowserVersion("latest");
options.addArguments("start-maximized");
What does not work:
saucelabs.url
saucelabs.target.platform
saucelabs.driver.version
saucelabs.test.name
saucelabs.access.key
saucelabs.user.id
The text was updated successfully, but these errors were encountered: