Skip to content
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

Serenity BDD 3.2.5 and Cross browser configuration with Chrome and edge #136

Open
chanduguthikonda opened this issue Feb 1, 2024 · 0 comments

Comments

@chanduguthikonda
Copy link

chanduguthikonda commented Feb 1, 2024

Serenity: 3.2.5
Experiencing issues while trying to run tests on MSEdge browser.
Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class org.openqa.selenium.edge.EdgeDriver (The path to the driver executable The path to the driver executable must be set by the webdriver.edge.driver system property; for more information, see https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/. The latest version can be downloaded from https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/). See below for more details.

I've msedgedriver.exe under resources/webdriver/ and below is my serenity.conf
webdriver {
driver = chrome
autodownload = false
}
drivers {
windows {
webdriver.chrome.driver = "src/test/resources/webdriver/windows/chromedriver.exe"
webdriver.edge.driver = "src/test/resources/webdriver/windows/msedgedriver.exe"
}
}
Gradle string :test --tests "com.testSuite.SmokeTestSuite" -Dwebdriver.driver=edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant