{"id":16376771,"url":"https://github.com/mfaisalkhatri/web-automation-wdio","last_synced_at":"2025-03-21T01:32:20.221Z","repository":{"id":245486346,"uuid":"809487116","full_name":"mfaisalkhatri/web-automation-wdio","owner":"mfaisalkhatri","description":"This repository contains web automation code example using webdriverio js","archived":false,"fork":false,"pushed_at":"2024-09-15T11:47:43.000Z","size":167,"stargazers_count":7,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T17:54:17.918Z","etag":null,"topics":["hacktoberfest","testautomation","testing","tutorial","wdio","web-automation","webdriverio"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfaisalkhatri.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-02T20:29:57.000Z","updated_at":"2024-11-22T09:56:46.000Z","dependencies_parsed_at":"2024-09-15T13:27:28.539Z","dependency_job_id":"634c7116-cc64-4934-a1cd-dd73263d1f59","html_url":"https://github.com/mfaisalkhatri/web-automation-wdio","commit_stats":null,"previous_names":["mfaisalkhatri/web-automation-wdio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2Fweb-automation-wdio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2Fweb-automation-wdio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2Fweb-automation-wdio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfaisalkhatri%2Fweb-automation-wdio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfaisalkhatri","download_url":"https://codeload.github.com/mfaisalkhatri/web-automation-wdio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244721396,"owners_count":20498940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","testautomation","testing","tutorial","wdio","web-automation","webdriverio"],"created_at":"2024-10-11T03:26:07.143Z","updated_at":"2025-03-21T01:32:19.940Z","avatar_url":"https://github.com/mfaisalkhatri.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Don't forget to give a :star: to make the project popular.\n\n## :question: What is this Repository about?\n\n- This repo contains example code for the following demo website: \n    - [LambdaTest's Selenium Playground](https://www.lambdatest.com/selenium-playground/)\n    - [The-internet](https://the-internet.herokuapp.com/)\n    - [Practice Software Testing](https://practicesoftwaretesting.com/)\n    - [Demo QA](https://demoqa.com/)\n\n- WebdriverIO is used as web automation framework\n- This repo showcases how to run the tests on \n    - Chrome browser on local machine\n    - Chrome browser on LambdaTest cloud grid\n    - Firefox browser on local machine\n    - Microsoft Edge browser on local machine\n\n- This repo covers example to run tests in parallel across different browsers\n- GitHub Actions has been setup for this project, which runs the tests as soon as code is pushed\n\n## Scenarios covered in the example tests using WebdriverIO\n1. Performing browser navigation\n1. Ticking and Unticking checkboxes\n1. Performing double click action on a WebElement\n1. Selecting values using single and multi-select dropdown boxes.\n1. Handling JavaScript Alerts covering the following:\n    1. Getting Text from alert, \n    1. Accept Alert\n    1. Dismiss Alert\n    1. Enter text and Confirm alert\n1. Working with HTML tables - getting value from rows and columns\n    1. Fetch records from rows and columns in table\n    1. Printing the data from the table using For Loop\n    1. Searching a record from the table and verifying it \n    1. Sort the table records on a particular column and verify the column values\n1. Performing Mouse hover over a WebElement\n1. Handling multiple windows\n1. Ticking and Unticking Radio buttons\n1. Performing Right click action\n1. Typing values in the textbox\n1. Capturing Screenshot of the web page\n\n\n\n## Running the Tests\n1. Clone the repository in your local machine by running the following command: \n\n    - `git clone git@github.com:mfaisalkhatri/web-automation-wdio.git`\n\n1. Install the dependencies by running the following command: \n\n    - `npm install`\n\n1. To run the test on local machine use the following command:\n\n    - `npm run test_local`\n\n1. To run the test on LambdaTest cloud grid\n    - Make sure to add the LambdaTest Username and accesskey in the environment variable\n    - Checkout the `lambdatest.conf.js` file for the configuration details\n\n    To run the tests use the following command: \n      - `npm run test_cloud`\n\n## 🧬 Need Assistance?\n\n- Discuss your queries by writing to me @ `mohammadfaisalkhatri@gmail.com`\n  OR ping me on any of the social media sites using the below link:\n    - [Linktree](https://linktr.ee/faisalkhatri)\n\n## :writing_hand: Blog Links\n\n- [How to Run WebdriverIO Tests: Getting Started Tutorial](https://www.lambdatest.com/blog/webdriverio-tutorial-run-your-first-automation-script/)\n\n### :thought_balloon: Checkout the blogs related to Testing on\n\n- [Medium](https://medium.com/@iamfaisalkhatri)\n- [LambdaTest blogs](https://www.lambdatest.com/blog/author/mfaisalkhatri/)\n- [My Website](https://mfaisalkhatri.github.io)\n\n### :bookmark: Checkout videos related to Software Testing and Test automation tools on [Testing Talks with Faisal Khatri](https://www.youtube.com/@faisalkhatriqa)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfaisalkhatri%2Fweb-automation-wdio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfaisalkhatri%2Fweb-automation-wdio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfaisalkhatri%2Fweb-automation-wdio/lists"}