Skip to content

Commit

Permalink
Update test_playwright.py
Browse files Browse the repository at this point in the history
Added some translations
  • Loading branch information
pranavred authored Jan 8, 2025
1 parent e6da486 commit c6adb93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ def test_connect_browser():
browser = p.chromium.launch_persistent_context(
user_data_dir=chrome_use_data,
executable_path=chrome_exe,
headless=False # 保持浏览器窗口可见
headless=False # Keep browser window visible
)

page = browser.new_page()
page.goto("https://mail.google.com/mail/u/0/#inbox")
page.wait_for_load_state()

input("按下回车键以关闭浏览器...")
input("Press the Enter key to close the browser...")

browser.close()

Expand Down

0 comments on commit c6adb93

Please sign in to comment.