Skip to content

List down the count of all the hyperlinks present in this page.

Notifications You must be signed in to change notification settings

AyushCrio/Count_All_Links_BookMyShow

Repository files navigation

Selenium Boilerplate:

This java project contains the essentials to get started with selenium quickly without having to go through the hassle of downloading individual dependencies one by one.

What does this project use?

This project uses gradle , webdriver manager , selenium v4

Pre-requesites:

Getting started:

  1. clone this repo to your machine using git clone

  2. To build the project: MacOS / Linux

    ./gradlew build
    

    Windows

    gradlew.bat build
    
  3. To run the project: MacOS / Linux

    ./gradlew run
    

    Windows

    gradlew.bat run
    

Writing your test case:

Test cases are part of the /src/main/java/demo/TestCases.java file.

Defining new test case:

  1. Open TestCases.java file
  2. Create a copy of the function testCase01()
  3. Update the contents of the newly created method with your own custom logic

Calling the newly created test case:

  1. open /src/App.java
  2. notice the TODO block:
//TODO: call your test case functions one after other here
  1. Call the newly created methods under the TODO block

About

List down the count of all the hyperlinks present in this page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages