wdio-browserstack-service | WebdriverIO Browserstack Service | Functional Testing library
kandi X-RAY | wdio-browserstack-service Summary
kandi X-RAY | wdio-browserstack-service Summary
WebdriverIO Browserstack Service
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wdio-browserstack-service
wdio-browserstack-service Key Features
wdio-browserstack-service Examples and Code Snippets
Community Discussions
Trending Discussions on wdio-browserstack-service
QUESTION
We're running wdio tests using wdio (both for local run & browserstack based devices)
When I run browserstack (server run) I am getting following error:
[11:41:04] COMMAND POST "/wd/hub/session" [11:41:04] DATA {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"name":"Ping","build":"1.0","browserstack.debug":true,"device":"Samsung Galaxy S8","os_version":"7.0","requestOrigins":{"url":"http://webdriver.io","version":"4.14.2","name":"webdriverio"}}} ERROR: connect ECONNREFUSED 127.0.0.1:4444
My dependency stack We use yarn
...ANSWER
Answered 2019-Mar-04 at 22:33The error you're seeing is because wdio is trying to reach out to a WebDriver server on "127.0.0.1:4444", which is the default local server (i.e. not Browserstack).
This means you likely don't have your user/key set up in your wdio.conf.js
file. WebdriverIO relies on the user/key to determine what default server to use.
Check your config that both user
and key
are set. More info is available here:
http://v4.webdriver.io/guide/services/browserstack.html
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wdio-browserstack-service
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page