← Selenium Automation Testing learning pathSelenium Automation Testing · Module 4 of 10
Interacting with elements
Click, type, select and read from pages.
📖 Key ideas
- element.click() clicks.
- element.send_keys("text") types; clear() empties.
- element.text reads visible text; get_attribute reads attributes.
- Select class handles dropdowns.
- 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