for best practices when writing automation code. refer: Best practices when writing automation code
Static drivers are a bad idea as explained by Simon Stewart, the creator of Selenium WebDriver.
2. Don’t use multiple locators for similar elements
3. If the element is not in the viewport, scroll to it with Javascript
One thought on “Selenium Tips and Tricks (to be updated)”