-
-
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
How to use browser Edge or chorme ? #3225
Labels
Comments
You can only have one capabilities section. To support more than one brower, you need to use different environments sections. |
Hi. could you give me an example? I really don't understand what to do. In the documentation it shows only execution by 1 browser. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi experts.
My serenity confi failed to execute browser microsoft edge , but i cant undestand this failed
Only executed correctly whit driver = "chrome"
{
drivers {
windows {
webdriver.chrome.driver = src/test/resources/webdriver/chromedriver.exe
webdriver.gecko.driver = src/test/resources/webdriver/geckodriver.exe
webdriver.ie.driver = src/test/resources/webdriver/msedgedriver.exe
}
}
webdriver {
driver = "edge"
autodownload = true
}
}
Caused by: net.thucydides.core.webdriver.DriverConfigurationError
WebDriver was unable to create a new instance of type class org.openqa.selenium.edge.EdgeDriver
WebDriver reported the following message: Could not start a new session. Response code 500. Message: session not created: No matching capabilities found
Host info: host: 'IMAGEMAKER-PC', ip: '192.168.10.81'
Build info: version: '4.10.0', revision: 'c14d967899'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '20.0.2'
Driver info: org.openqa.selenium.edge.EdgeDriver
Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: false, browserName: chrome, goog:chromeOptions: {args: [remote-allow-origins=, ignore-certificate-errors, start-maximized, incognito]}, ms:edgeOptions: {args: [ignore-certificate-errors, start-maximized, incognito, remote-allow-origins=, ignore-certificate-errors, start-maximized, incognito], extensions: []}}]}]
See below for more details.
The text was updated successfully, but these errors were encountered: