Arduino Wait Function In Selenium