|
|
@ -128,9 +128,7 @@ def getAccess(): |
|
|
|
# then allows for manual solving of captcha in the terminal |
|
|
|
#@param: current selenium web driver |
|
|
|
def login(driver): |
|
|
|
# wait for page to show up (This Xpath may need to change based on different seed url) |
|
|
|
WebDriverWait(driver, 100).until(EC.visibility_of_element_located( |
|
|
|
(By.XPATH, "/html/body/div/div[1]/div/div[1]/div[1]/ul"))) |
|
|
|
input("Press ENTER when CAPTCHA is completed\n") |
|
|
|
|
|
|
|
# entering username and password into input boxes |
|
|
|
usernameBox = driver.find_element(by=By.XPATH, value='/html/body/div/div[2]/div/form/table/tbody/tr[2]/td[2]/input') |
|
|
|