问题内容: I am currently trying to automate a page that loads content dynamically.The page has a refresh button with css selector "#refresh" So what i want to do is have a while loop to click the refresh button till a certain element appears. Lets the element i want has a css selector of "#foo" The