Hi,
I don’t succeed to make my nodeJS example work with an application mobile.
I would use Browser Stack.
When I run the cmd “npx codeceptjs run --steps --features -c ./config/test3-browserStack-nexus6-v2.conf.js”,
i have this error :
"22019-07-16T07:28:06.930Z ERROR webdriver: Request failed due to Error: connect ETIMEDOUT 185.44.131.194:4444
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
[1] Error | Error: Can’t connect to WebDriver.
Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible"
Have you an idea please ?
Thank you
My conf JS file is :
exports.config = {
output: ‘./output’,
helpers: {
Appium: {
app: ‘bs://926d78af246941cc8bf933edaa38075212069b6a’,
host: ‘hub-cloud.browserstack.com’,
port: 4444,
user: ‘’,
key: ‘’,
device: ‘Google Nexus 6’,
name: ‘single_test_codeceptJS bau sur Appli de WikiPedia’,
desiredCapabilities: {
‘os_version’ : ‘6.0’,
‘device’ : ‘Google Nexus 6’,
‘real_mobile’ : ‘true’,
‘name’ : ‘single_test_codeceptJS bau sur Appli de WikiPedia’,
‘browserstack.local’ : ‘false’,
‘browserstack.appium_version’ : ‘1.13.0’,
‘browserstack.user’ : ‘’,
‘browserstack.key’ : ‘’
}
}
},
include: {
I: ‘./steps_file.js’
},
mocha: {},
bootstrap: null,
teardown: null,
hooks: [],
plugins: {
screenshotOnFail: {
enabled: true
}
},
tests: ‘./*_test.js’,
name: ‘codeceptjs’
}