Selenium 4 Web Driver Scripting with Python

PT22098
Training Summary
This is an intensive workshop on writing Selenium scripts using Python. The course covers all of the core functionality of the Selenium API from finding elements using different selector types to manipulating widgets and working with the various other Web artifacts like pop-ups, and AJAX. The advanced features of Selenium are covered including complex mouse operations and the use of event listeners. However, the course goes beyond the mechanics of writing code by exploring the internals of what is happening in the API so that students can learn how to both optimize their scripts and troubleshoot issues that may arise in their test environments. Because Selenium is generally not used as a stand alone tool but tends to be used in conjunction with other test frameworks and tools, students also learn how to integrate Selenium code into the popular unit test frameworks (unittest for example) and behaviour driven test frameworks (behave). The best practices of the Selenium community are reviewed, including the essential Page Object Pattern.
Prerequisites
Students must be able to program at an intermediate level in Python; students that do not meet this requirement will not be able to follow the course. Students must also have knowledge of Selenium concepts equivalent to ‘PT20158 Web Testing with Selenium 4: Concepts and Techniques". It is recommended that students take PT20158 before this course.
Duration
2 Days/Lecture & Lab
Audience
The course is targeted at Python developers who will be or are writing Selenium Web Driver scripts in Python.
Course Topics
  • The Selenium Python Binding
  • Web Driver Navigation Commands
  • Locating Elements
  • Working with Widgets
  • Mouse Actions and Listeners
  • The Page Object Pattern
  • Selenium Integration
  • Advanced Topics
  • Best Practices

Related Scheduled Courses