Skip to content

Commit

Permalink
Update paypal_transaction_generator.py
Browse files Browse the repository at this point in the history
Remove dead code
  • Loading branch information
Jgerardopine authored Feb 16, 2024
1 parent c197b07 commit 9b8276d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ def approve_payment(driver, url):
cookies_accepted = True
except Exception as e:
print("Could not find the accept all cookies button, exception:", e)
# cookies = driver.find_element(By.ID, "acceptAllButton")
# if cookies:
# cookies.click()

# cookies_accepted = True

driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
element = WebDriverWait(driver, 20).until(EC.presence_of_element_located((By.ID, "payment-submit-btn")))
Expand Down

0 comments on commit 9b8276d

Please sign in to comment.