lengthy code Lots of repetition for basically doing the same thing (i.e. find element, if element is found, then do something with it; wait for some event to happen)
then: from websmith.actions import Go, SendKeys from websmith.ui import Session with Session(browser): Go('https://www.google.com') SendKeys('q', 'WebSmith')