+91 9790664230
kumar.arun211@gmail.com

Tag: python selenium

Blog to learn python selenium from java selenium

Python selenium commands cheat sheet

Frequently used python selenium commands – Cheat Sheet To import webdriver module in python use below import statement from selenium import webdriver Driver setup: Firefox: firefoxdriver = webdriver.Firefox(executable_path=”Path to Firefox driver”) To download: Visit GitHub Chrome: chromedriver = webdriver.Chrome(executable_path=”Path to Chrome driver”) To download: Visit Here Internet Explorer: iedriver = webdriver.IE(executable_path=”­Pat­h To­ IEDriverServer.exe”) To download:…
Read more

Test Execution in Chrome using Python Selenium

In this post, we are going to try test execution in Chrome browser and load URL of our choice. Note: For Firefox Test Execution, Please check here Method 1 Steps to be followed are same as Firefox. Only the instance will change from Firefox to Chrome Step 1: Import webdriver module. The selenium.webdriver module provides support…
Read more

Capture screenshot of an Element using Python Selenium WebDriver

In this post, we explored how to capture Screenshot in Python Selenium Webdriver. Sometimes we may just want to capture a part of the page, just on specific element based on ID, or any specific element locator. For example, we would like to capture the logo in Google page with id = “hplogo” Selenium WebDriver…
Read more

Taking Screenshot using Python Selenium WebDriver

Hello, welcome to Python Selenium tutorials and in this post let’s see how to capture Screenshot in Python Selenium Webdriver Ability to take screenshots is most important and desirable feature for bug analysis. Sometimes, apart from bug analysis, one may want to capture screenshots to see the flow of test steps. Screenshots help automation testers…
Read more

Mouse Over actions using Python Selenium WebDriver

There will be scenarios where we need to click on the item of a drop down menu. In order to perform this action manually, first we need to bring up the drop down menu by holding mouse over the parent menu. Then click on required child menu from drop down menu displayed. Using ActionChains class…
Read more

How to open Firefox browser by passing driver executable path

In this post, we have seen how to start Firefox. Before executing the script, we ensured that Firefox driver is available in PATH. There is another way to start Firefox without PATH settings. Instead of setting PATH environment variable, executable_path property can be passed while invoking Firefox instance. Syntax: driver = webdriver.Firefox(executable_path=”[path to driver location]”);…
Read more

Python Selenium WebDriver environment setup

In this post, we will mainly discuss Python Selenium WebDriver setup required to start writing python selenium scripts. Selenium WebDriver is one of the most popular test automation tool for Web UI Automation. This Web UI Automation includes automatic execution of the actions performed in a web browser window like navigating to a website, clicking…
Read more

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy