Skip to content

Commit c6adb93

Browse files
authored
Update test_playwright.py
Added some translations
1 parent e6da486 commit c6adb93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_playwright.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ def test_connect_browser():
2121
browser = p.chromium.launch_persistent_context(
2222
user_data_dir=chrome_use_data,
2323
executable_path=chrome_exe,
24-
headless=False # 保持浏览器窗口可见
24+
headless=False # Keep browser window visible
2525
)
2626

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

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

3333
browser.close()
3434

0 commit comments

Comments
 (0)