Skip to content

Commit

Permalink
increase time selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
tricktx committed Sep 21, 2023
1 parent 2472ed5 commit 97a0ed3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pipelines/datasets/br_stf_corte_aberta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def web_scrapping():

options.add_argument("--headless=new")
driver = webdriver.Chrome(options=options)
time.sleep(5)
time.sleep(10)
driver.get(stf_constants.STF_LINK.value)
time.sleep(5)
time.sleep(10)
driver.maximize_window()
time.sleep(5)
time.sleep(10)
driver.find_element("xpath", '//*[@id="aba-4"]').click()
time.sleep(5)
time.sleep(10)
driver.find_element("xpath", '//*[@id="EXPORT-BUTTON-2"]/button').click()
time.sleep(5)
time.sleep(10)


def read_csv():
Expand Down

0 comments on commit 97a0ed3

Please sign in to comment.