Category: Python Automation

Synchronization (Explicit Waits) in Selenium Python

Explicit Wait and its advantages Let us now try to apply explicit wait to the same scenario discussed above. The explicit wait is applicable to a specific element on the page based on certain conditions. The explicit wait is applied with the help of the WebDriverWait class. The driver object and the wait time are […]

Synchronization (Implicit Waits) in Selenium Python

Table of Contents Implicit Wait and its advantages Code Implementation of the above scenario: Code Implementation with implicit wait: While working with web applications we would encounter scenarios where it takes some time for the page to load to perform an operation. In order to make the Selenium webdriver wait for some time before performing […]

Techniques to automate Web elements using Python

Table of Contents Identifying static dropdowns with Select class Introducing Validations Assertions Handling Auto Suggestive Dynamic dropdowns and Sleep method Get options count with Len method Handling Checkbox dynamically Handling Radio button Handling Java/Javascript alerts pop up Identifying static dropdowns with Select class Let us now discuss techniques to automate the static dropdowns in Selenium. […]

How to To Invoke Different Browsers in Selenium with Python

Table of Contents To invoke Chrome browser Some basic webdriver methods Code to launch chrome browser along with some basic Selenium methods. To invoke Firefox browser Code to invoke firefox browser.  To invoke Internet Explorer browser Code to invoke internet explorer browser. Selenium supports multiple browsers like Chrome, Firefox, IE, and Safari and so on. […]