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