Clear text field, form field or text-area selenium python

Use the .clear() method

See example below

search_bar = driver.find_element_by_tag("search")
search_bar.clear()

SNAPPED!

SNAPPED!

Comments

Popular posts from this blog

Append to a json file python

Setup Mailhog mail server on Ubuntu