Here it is my acceptance.yml file
modules:
enabled:
- WebDriver
config:
You need to set the capabilities as follows when executing a test on Android emulators (Samsung Galaxy S5) on BrowserStack:
config:
WebDriver:
url: 'http://www.google.com'
host: 'hub.browserstack.com'
port: 80
browser: android
capabilities:
'browserstack.user': ''
'browserstack.key' : ''
'device': 'Samsung Galaxy S5'
'platform': 'ANDROID'
Note: 'android' for browser
needs to be all lower case and for platform
all upper case.
The Code Generator can be very helpful to specify the capabilities while testing on different browser and OS combinations especially mobile devices.
If you wish to access your local servers on BrowserStack, such as 'http://localhost:8080', you can follow these steps:
a) Setup a Local Testing connection using the binaries.
b) Add the capability 'browserstack.local': 'true'
in your scripts.