← Selenium Automation Testing learning path
Selenium Automation Testing · Module 4 of 10

Interacting with elements

Click, type, select and read from pages.

📖 Key ideas

  1. element.click() clicks.
  2. element.send_keys("text") types; clear() empties.
  3. element.text reads visible text; get_attribute reads attributes.
  4. Select class handles dropdowns.
  5. Check state: is_displayed, is_enabled, is_selected.
💡 Real-life example: Interacting is the robot's hands: tap buttons, type into boxes and read signs.
click()Clicks an element
send_keys()Types text
SelectHelper for dropdowns
is_displayed()Checks visibility