can i set desired capabilities as array so i can execute my test case against multiple browser #2601
Unanswered
mannus-nisum-com
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to execute my test case against saucelab with multiple browsers as I have 3 different environments. Now I want to execute my test case of env A against chrome and firefox browser. Is there any way that my test cases is execute against both browser?
test_settings: {
default: {
selenium_host: 'ondemand.saucelabs.com',
selenium_port: 80,
username: process.env.SAUCE_USERNAME || 'SAUCE_USERNAME',
access_key: process.env.SAUCE_ACCESS_KEY || 'SAUCE_ACCESS_KEY',
use_ssl: false,
silent: true,
output: true,
desiredCapabilities: {
browserName: "chrome",
platform: "Windows 10",
version: "88.0",
tunnelIdentifier: process.env.SAUCE_TUNNEL_IDENTIFIER || 'SAUCE_TUNNEL_IDENTIFIER'
}
},
env A: {
selenium_port: 80,
launch_url: "https://abc.com",
siteCode: "envA",
output_folder: "./reports/envA",
screenshots: {
path: "./screenshots/envA"
},
globals: {
siteCode: "envA"
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions