Skip to content

Attempt to create examples for using webdriverio as an e-e test tool

Notifications You must be signed in to change notification settings

sahas-/webdriverio-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#install globals

npm install phantomjs -g

npm install webdriverio -g

#local development

Navigate to *_concrete directory 

npm install

npm run build

npm link (this will create a symbolic link for this concrete package)

Navigate to *_tests directory

npm install 

npm link <<package_name>> (package name from the above command, googleSearch_concrete)

you should see googleSearch_concrete/dist folder inside node_modules.

#run local selenium standalone server for local development

ref:https://www.npmjs.com/package/selenium-standalone

Open new terminal

Navigate to *_tests directory

Change startSeleniumServer.sh as appropriate

    uncomment first 2 lines to install selenium stand alone server, if not installed already

    start the selenium stand alone server     

#run test locally

Navigate to *_tests directory 

npm run test-local 

#run test saucelabs

Navigate to *_tests directory  

npm run test-saucelabs   

About

Attempt to create examples for using webdriverio as an e-e test tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published