Skip to content

Search Struggles Problem


You are tasked with researching the Akita Inu 🐶. You know the answers exist somewhere within seleniumplayground.practiceprobs.com, but manually searching for them sounds tiring. You get an idea Build a bot to do the searching for you! As a wise man once said,

Automate the boring stuff!

Automate the following:

  1. Open seleniumplayground.practiceprobs.com.
  2. Click inside the search bar near the top right.
  3. Search for "Breed".
  4. Return all result page links that contain "Akita Inu".

Starter code

from selenium import webdriver

# Instantiate a WebDriver
driver = webdriver.Chrome()
driver.get("https://seleniumplayground.practiceprobs.com/")

# Your Code here
Expected Result
links = ['https://seleniumplayground.practiceprobs.com/dogs/breeds/akita/']

See the solution