Skip to content

SripriyaPKulkarni/Selenium-Java-Hidden-Elements

Repository files navigation

Don't forget to give a ⭐ to make the project popular.

❓ What is this Repository about?

Hidden Elements on a web page

Hidden elements are the elements that are present in the DOM but not visible on the webpage. Normally, hidden elements are defined by the CSS property style=display:none;. In case an element is a part of the form tag, it can be hidden by setting the attribute type to the value hidden.

  • This repo contains example code for Handling Hidden Elementts in Selenium Java
  • This project uses Maven as build tool, Testng version 7.8 and Selenium 4.20 to run the tests.

Project Configuration

Add Testng 7.8.0 and Selenium Java 4.20.0 dependency in pom.xml

Configure Environment Variables

Before the tests are run, please set the environment variables LT_USERNAME & LT_ACCESS_KEY from the terminal. The account details are available on your LambdaTest Profile page.

For macOS:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

For Linux:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

For Linux:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

🧬 Need Assistance?

  • Discuss your queries by writing to me @ [email protected] OR ping me on any of the social media sites using the link:

    Have Feedback? Feel free to fork the repo and contribute to make it better! Email to [email protected] for any queries or ping me on the following social media sites:

    Twitter: @PriyaKulkarni01 LinkedIn: @sripriyapkulkarni

    💭 Checkout the blogs related to Testing on LambdaTest blogs, My Own Blog and medium blogs

  • About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published