Closed potapovDim closed 8 years ago
Hey @potapovDim , you can add the device name in the desiredCapabilities object.
Example - add here
desiredCapabilities: {
'build': 'nightwatch-browserstack',
'browserstack.user': process.env.BROWSERSTACK_USERNAME || 'BROWSERSTACK_USERNAME',
'browserstack.key': process.env.BROWSERSTACK_ACCESS_KEY || 'BROWSERSTACK_ACCESS_KEY',
'browserstack.debug': true,
'browserName' : 'android',
'platform' : 'ANDROID',
'device' : 'Samsung Galaxy Note 3'
}
You can auto-generate these capabilities from here
Hey @vedharish ,how can i do multi desiredCapabilities?? if i want to run my test on 10 devices ??
@potapovDim you will need to add the capabilities in conf/parallel.conf.js
and then run npm run parallel
. Please have a look at README.md
How should I add the desiredCapabilities
or where can I find it on the website?
For example:
ie: {
desiredCapabilities: {
browser: "internet explorer",
version: "8",
platform: "Windows 7 (64-bit)",
}
}
Is this correct? Thanks
Just found out. thanks
how to add devices ?