Skip to content

Latest commit

 

History

History

best-practices

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

WebdriverIO Best Practices, including the use of Page Objects

This folder contains best practices for WebdriverIO, including the use of Page Objects.

Install dependencies

You can install all dependencies by running the following command

npm install

This will install all needed dependencies that are listed in the package.json-file

NOTE: Make sure you are in the folder webdriverio/appium-web/best-practices when you execute this command

Run Android and iOS tests on Sauce Labs

You can run your mobile web tests on Sauce Labs US DC with these commands

npm run test.saucelabs.ios.us
npm run test.saucelabs.android.us

You can run your mobile web tests on Sauce Labs EU DC with these commands

npm run test.saucelabs.ios.us
npm run test.saucelabs.android.us

It will spin up multiple emulators or simulators.