Python Selenium Tutorials

Selenium Tutorials

In this we list out the Selenium Tutorial using Python, from setup and basics, to advanced learning.

Setup

Basics

Navigation

Selecting Single Elements

In the following tutorials, we will learn how to locate or find an element by id, class name, link text, name, partial link text, tag name, or XPath, in the given document, using find_element() function.

Selecting Multiple Elements

In the following tutorials, we will learn how to locate or find all the elements by class name, link text, name, partial link text, tag name, or XPath, in the given document, using find_elements() function.

Element Actions

  • Click on a link
  • Click on a div element
  • Clear text in a text input field
  • Enter text in a text input field
  • Hover on a div element
  • Submit Form

Action Chains

We can simulate actions from input devices like keyboard, mouse, pen or touch devices, and wheel for scrolling.

  • What is Action Chain in Selenium?
  • Selenium – Click Action
  • Selenium – Click and Hold Action
  • Selenium – Context Click Action
  • Selenium – Double Click Action
  • Selenium – Drag and Drop Action
  • Selenium – Key down Action
  • Selenium – Key up Action
  • Selenium – Move by offset Action
  • Selenium – Move to Element Action
  • Selenium – Move to Element with Offset Action
  • Selenium – Release Action
  • Selenium – Reset Action
  • Selenium – Send key Action

Problems – Solutions