jcr678

Results 1 issues of jcr678

def login(driver): driver.get('https://www.glassdoor.com/index.htm') time.sleep(2) buttons = driver.find_elements_by_xpath("//button[contains(text(), 'Sign In')]") for button in buttons: try: button.click() break except: pass driver.find_element(By.ID,"userEmail").send_keys(email) buttons = driver.find_elements(By.ID,"userPassword") for button in buttons: try: button.send_keys(password, Keys.ENTER) break...