https://github.com/neonidian/selenium-javascript
A basic javascript project showcasing Selenium using page object modelling
https://github.com/neonidian/selenium-javascript
javascript page-object-model selenium selenium-javascript
Last synced: about 2 months ago
JSON representation
A basic javascript project showcasing Selenium using page object modelling
- Host: GitHub
- URL: https://github.com/neonidian/selenium-javascript
- Owner: neonidian
- Created: 2020-04-11T15:54:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T03:36:16.000Z (almost 2 years ago)
- Last Synced: 2024-12-20T11:12:34.044Z (12 months ago)
- Topics: javascript, page-object-model, selenium, selenium-javascript
- Language: JavaScript
- Homepage:
- Size: 1.72 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium Using Javascript
A sample javascript project for showcasing Selenium to automate browser testing
## Pre-requisites
* Firefox browser
* Node.js version 12.x or greater
## Running the tests
In the command-line:
1. Use the command, `npm install` to install the dependencies.
**Note:** This step is required only once to install the dependencies.
2. Use the command, `npm test` to run the tests
## Structure
* Based on **Page Object Model**, the page objects and page functionality are put into the [respective pages](test/pages) for modularity
* Selenium related functionality are also seperated and put into [own directory](test/selenium)
* Splitting the page functionality and Selenium functionality makes the [tests](test) easier to read and understand