Automated google search operation.
Clone the repository
git clone https://github.com/bmshamsnahid/Automation-With-Selenium-And-Node.js.git
Install dependencies
npm i [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] --save-dev --unsafe-perm=true --allow-root
Run test
npm test
Folder Structure
├── ...
│
├── lib # Helper methods
│ ├── basePage.js # Generic functionality for tests
│ └── homePage.js # Home page testing functionality
│
├── test # Test suite
│ └── homePage.test.js # Testing in home page
│
├── utils # Utility files for testing
│ ├── fakeData.js # Generating random keyword for searching
│ └── locator.js # HTML and CSS identifier for elements to test
├── ...
MIT