Selenium WebDriver with Python Cheat Sheet

This blog article lists Python Selenium WebDriver commands which are helpful to automate Web Application Testing.

Selenium WebDriver Installation

WebDriver Initialization

Browser Details

Maximize and Minimize

Switch to Frame & Window

Back, Forward & Refresh


Finding Elements

4 thoughts on “Selenium WebDriver with Python Cheat Sheet

    1. here is one way:

      for element in self.driver.find_elements_by_tag_name(‘img’):
      print element.text
      print element.tag_name
      print element.parent
      print element.location
      print element.size

Leave a Reply

Your email address will not be published. Required fields are marked *