Skip to content

Commit

Permalink
Fix testscript
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayan-Bandyopadhyay committed Oct 3, 2024
1 parent d92aa88 commit 2688280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def main():
print("Connecting to Browser...")

browser = p.chromium.connect_over_cdp(PROD_URL)
browser = browser.contexts[0]
page = browser.pages[0]

page = browser.new_page()

# Navigate to the website and login
page.goto(url)
page.wait_for_load_state("networkidle", timeout=10000)
Expand Down

0 comments on commit 2688280

Please sign in to comment.