From 59c5de654fb2237adf4a5c515f0fc9f700cc8099 Mon Sep 17 00:00:00 2001 From: Nathan Pham Date: Sun, 22 Oct 2023 02:01:00 -0700 Subject: [PATCH] Update login function --- MarketPlaces/CypherMarketplace/crawler_selenium.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MarketPlaces/CypherMarketplace/crawler_selenium.py b/MarketPlaces/CypherMarketplace/crawler_selenium.py index 10a95e7..1864d85 100644 --- a/MarketPlaces/CypherMarketplace/crawler_selenium.py +++ b/MarketPlaces/CypherMarketplace/crawler_selenium.py @@ -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')