Questions tagged [webdriver-io]

WebdriverIO from webdriver.io is a JavaScript library for controlling browsers with Selenium server via the WebDriver API.

WebdriverIO is an independent implementation of the WebDriver Protocol which provides language bindings and APIs to automate browser or mobile devices. Its test runner allows you to write your tests in a synchronous way so you’re not constantly in the world of asynchronous coding. WebDriverIO integrates easily with a variety of cloud browser testing vendors (for example, Sauce Labs, BrowserStack and CrossBrowserTesting), so you can perform tests on a wide variety of OS/Device/Browser combinations, all from one test.

1803 questions
0
votes
1 answer

Synchronous mode of Webdriver.io have problems with Promise

I write tests on CoffeeScript using Webdriver.io framework (Wdio testrunner) with sync mode enabled. According to the documentation, Webdriver.io commands should be executed in synchronous mode. However, an unexpected problem appears in the process…
Paganini
  • 178
  • 2
  • 12
0
votes
1 answer

How can I check HyperLink response for custom chatbot using botium-connector-webdriverio

My bot response contains text and hyperlink in single message. I am using botium-connector-webdriverio to verify bot responses in my website. In this connector capability , it is define that I can use BUTTONS to verify link, But I am unable to…
0
votes
1 answer

Android SDK - Could not find 'adb'

I'm trying to use Android SDK in Centos 7 for an Appium suite using webdriverio. I am getting the following error when I try to run my suite, it is having trouble finding adb for some reason: ERROR: An unknown server-side error occurred while…
0
votes
0 answers

Node.JS - Program Terminates Before Receiving Callback

I'm utilizing WebdriverIO v4 to create HTML reports of various tests passing/failing. I gather the results of the tests via multiple event listeners (ex. this.on('test:start'), this.on('suite:end'), etc.). The final event is this.on('end'), which is…
Brian
  • 135
  • 4
  • 16
0
votes
1 answer

Node.js - AWS - Program Terminates Before Upload to S3 Bucket Completes

I've written a program that creates HTML files. I then attempt to upload the files to my S3 bucket at the end of the program. It seems that the problem is that my program terminates before allowing the function to complete or receiving a callback…
0
votes
2 answers

How to get jenkins BUILD_NUMBER in webdriverio config file

My automation project is setup in Jenkins pipeline. I am using custom webdriverio service in wdio config file. I tried const buildNum = process.env.BUILD_NUMBER; but it returns null. Also I get this error
human
  • 637
  • 4
  • 15
  • 41
0
votes
1 answer

WebDriverIO - handling Prompt Sign In messages

I've been at this for awhile but wasn't able to find any solution through documentations. Essentially I am testing in an QA environment that requires password credentials. Although I can manually type the username/password, ideally I'd like to have…
0
votes
0 answers

Running webdriverIO in with docker-compose

Im struggling to understand how to properly configure my compose file to run webdriverio. I am following instructions: https://github.com/SeleniumHQ/docker-selenium/wiki/Getting-Started-with-Docker-Compose and…
asus
  • 1,427
  • 3
  • 25
  • 59
0
votes
1 answer

Network based run is getting directed to Local 127.0.0.1

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 …
user2451016
  • 1,857
  • 3
  • 20
  • 44
0
votes
1 answer

How to set args from chromeOptions in beforeSession webdriverIO+Cucumber

I need to install args before the session. On a specific tag must be transmitted a specific screen resolution. I tried to implement beforeSession, but the necessary arg is not in chromeOptions.args when starting the session. I tried two…
0
votes
0 answers

How to locate and get text from a tooltip in webdriverIO

I am trying to locate a tooltip within a div, and then extract the tooltip-text which is visible when I do mouse hover over the tooltip. Copying below the code snapshot from UI --
Ashwini
  • 1
  • 1
0
votes
1 answer

EBUSY: resource busy or locked, rmdir

I'm trying webdriverIO recently and got stuck at generating configuration file. ? Where should your tests be launched local - https://www.npmjs.com/package/@wdio/local-runner ? Shall I install the runner plugin for you? Yes ? Where is your…
Jonny Sun
  • 1
  • 6
0
votes
0 answers

How to set Appium tests (WDIO-Mocha tests) pass % tolerance on BitRise Test Jobs

How to set Appium tests (WDIO-Mocha tests) pass % tolerance on BitRise Test Jobs Hi, We are running UI Test Suite on BitRise CI/CD. The test suite itself is built on ReactNative/Jest codebase. And WDIO-Mocha runner is used for running the…
user2451016
  • 1,857
  • 3
  • 20
  • 44
0
votes
1 answer

How do I setup concurrent services on CircleCI for Testing?

I have an application that runs its tests with Jasmine and WebdriverIO which I would like to automate in CircleCI. I'm new to testing in general so I'm not sure what to do. Here's what I know: To run the tests, I invoke npm test A selenium server…
leander
  • 534
  • 1
  • 4
  • 18
0
votes
1 answer

Selecting element using webdriver (duplicate identifiers)

I have to look at an application which I can't use the normal selectors (like "id", "name", etc - this is a design flaw) but I do have a custom tag which has been applied to elements on the page: test-tag='x' and this is fine, I can interact with…
Joseph
  • 541
  • 1
  • 4
  • 31