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.
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
[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