use wait method instead of Selenium::WebDriver::Wait.new