Skip to content
No description, website, or topics provided.
JavaScript Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea tweaks Dec 9, 2019
part1_Selenium JAvascript tweak Jan 8, 2020
part2_Cypress Cypress updates Jan 8, 2020
part3_TestCafe cleanup Jan 5, 2020
.DS_Store cleanup Dec 23, 2019
.gitignore Adding some helper examples Nov 19, 2019
Codemash.pdf
README.md Updated JS Jan 3, 2020
package-lock.json pushing up some JS changes Jan 3, 2020
package.json Merge pull request #5 from clymerrm/cypress Jan 5, 2020
requirements.txt first commit Nov 18, 2019

README.md

TodoAutomation

Requirements:

  • Your favorite IDE ** Visual Studio Code, Atom or your pick of Jetbrains products (Webstorm or Intellij recommended if going this route)

  • Node and NPM

  • Java 11 or greater

  • Optional: ** If you wish to follow the Selenium hands-on examples using Python, Python 3.7 is necessary.
    ** If using IDE that generates virtualenv automatically, use that. If not, on Mac, brew install pipenv. If on Windows, pip install pipenv.

Setup Instructions

Locators

CSS Examples - https://saucelabs.com/resources/articles/selenium-tips-css-selectors

XPATH Examples - https://www.lambdatest.com/blog/complete-guide-for-using-xpath-in-selenium-with-examples/

Running Javascript Tests from Command Line

  • Non-Mocha framework node basicTest.spec.js
  • Mocha mocha basicTest.spec.js --timeout 10000

Node Webdriver-Manager

Need a specific version of chrome driver:

webdriver-manager update --versions.chrome=78.0.3904.105 --gecko false webdriver-manager start --versions.chrome=78.0.3904.105

You can’t perform that action at this time.