Selenium + Python · Lesson 13 of 43
Module 13: Introduction to Selenium
Your task
Implement verify_page_title(driver, expected_title):
Write it in the editor, then press Check answer (Ctrl + Enter).
In Selenium 4+, selenium-manager automatically handles browser driver binaries (chromedriver, geckodriver) behind the scenes:
from selenium import webdriver
driver = webdriver.Chrome()
try:
driver.get("https://targetqa.com")
print("Page Title:", driver.title)
finally:
driver.quit()Welcome to Phase 3 of Selenium with Python! Selenium 4 is fully compliant with the W3C WebDriver standard, communicating directly with browser drivers over HTTP without legacy JSON Wire protocol translation. Let's explore its architecture!
Part of the Selenium + Python course (Selenium with Python). Practice this concept live in the Selenium Online Compiler or explore our free automation practice form.
No! In Selenium 4.6+, Selenium Manager downloads and manages matching driver binaries automatically.
Ready? Solve the task in the editor
Use Check answer to mark it complete. Hints are there if you need them.
___