[go: up one dir, main page]

0% found this document useful (0 votes)
1K views13 pages

Webdriver IO

WebdriverIO allows controlling browsers to test web and mobile applications. It uses Node.js and supports technologies like Selenium, Cucumber, and Chai. WebdriverIO represents browser elements and actions through a browser object, and uses selectors like CSS, XPath, and more to find elements. It can be installed and configured to run tests locally or on cloud services while generating reports.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views13 pages

Webdriver IO

WebdriverIO allows controlling browsers to test web and mobile applications. It uses Node.js and supports technologies like Selenium, Cucumber, and Chai. WebdriverIO represents browser elements and actions through a browser object, and uses selectors like CSS, XPath, and more to find elements. It can be installed and configured to run tests locally or on cloud services while generating reports.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

WebdriverIO

Introduction

• WebdriverIO allows us to control the browser


• Manage Selenium session
• JS Synchronous code
• Web and Mobile apps support
• Page object support
3

Technologies

▸ Node JS
▸ Cucumber
▸ Chai
▸ Selenium
▸ Allure
4

Browser Object

• Represents the elements and actions of a web page


• You can have access to the global variable browser object
• Init and End command session is done by test runner process
5

Selectors

 CSS Query Selector


 Link Text
 Partial Link Text
 Element with certain text
 Tag Name
 Name Attribute
 XPath
6

Installation
7
8

Usage
9

Usage

▸ Test location (local – cloud service)


▸ Framework
▸ Reporters
▸ Features location
▸ Step definition location
▸ Screenshot location
10

WDIO.CONF
11

Example
12

REPL interface
13

THANKS!
Any questions?
You can find me at
fernando.gutierrez@jalasoft.com

You might also like