+91 9790664230

All Selenium

The Blog to Learn Selenium

How to handle iframes using Selenium WebDriver

In this tutorial we will learn how to handle iframes using Java and Python Selenium WebDriver. What is iFrame? An iframe is used to embed HTML documents in other HTML documents. And iframe content can be changed without requiring the user to reload the surrounding page. The iframe HTML element is often used to insert…
Read more

How to setup User-Agent in Python Selenium WebDriver

In this article, lets see how we can setup user-agent for browsers and read user-agents in Python Selenium WebDriver. Manipulation of user-agent is required for many scenarios in testing. What is User-Agent? The User-Agent request header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor…
Read more

How to deal with certificates using Python Selenium

How can I deal with the web application for which HTTPS is enabled with self-signed certificate? – This is a common scenario we face as testers in our test execution. A self-signed certificate is enough to establish a secure HTTPS connection, although browsers will complain that the certificate is self-signed and not trusted. However it…
Read more

How to work with expected conditions explicit wait

These days most of the web applications are using AJAX/Dynamic loading/lazy loading techniques. After loading the web page in the browser, elements within that page may load at different time intervals. This makes locating elements difficult, if an element is not yet present in the DOM, a locate function will raise an ElementNotVisibleException exception. We…
Read more

Javascript using Python Selenium WebDriver

In this tutorial, let’s analyze and see different ways to execute Javascript statements/commands through Python Selenium WebDriver. It may so happen in some real time projects, Selenium WebDriver is not able to perform some action on a particular web element and interacting with web elements through Javascript was the only possible solution. For example, since…
Read more

git commands cheat sheet

It is hard to memorize all the important Git commands. We’ve included the basic Git commands; Use this handy git cheat sheet to enhance your workflow and save your time. We recommend you to print this out or save it to your desktop to resort to when you get stuck. Clone an existing repository git…
Read more

Python Selenium handle alerts prompts confirmation popups

In this article, let’s experiment different ways to handle alerts and popups on a web page. Web applications displays alert messages to notify user or prompt popups to get some input from user or confirm popups for confirming an user action; And it is usually a standard practice. An Alert or Prompt or Confirm popup…
Read more

Browser drivers with Python Webdriver Manager

We all know that we need to have browser drivers, .exe files like chromedriver.exe and geckodriver.exe in case of windows environment or binary files like chromedriver and gheckodriver in case of linux distributions, in order to run our selenium webdriver automation scripts on chrome and firefox browsers. And also we need to set the path…
Read more

Browser driver management with WebDriverManager

In this article, we are going to leverage WebDriverManager by Boni Garcia to setup browser driver required to execute our tests. We all know that we need to have browser drivers, .exe files like chromedriver.exe and geckodriver.exe in case of windows environment or binary files like chromedriver and geckodriver in case of linux distributions, in…
Read more

File upload using Python Selenium Webdriver

We have seen how to download file using Python Selenium Webdriver in this article. File upload is also frequently used use case in automation testing and in this article, lets learn how to upload a file using Python Selenium Webdriver. We use the same file upload sample page that we used for our Java example…
Read more

© 2019 Copyrights. All Rights Reserved. Arunkumar Velusamy