fix: Improve Browser Startup and Error Handling

- Add `--no-sandbox` flag to resolve browser startup issues
- Enhance error handling in temp email creation
- Update localization files with new email-related messages
- Improve translation support for email creation process
This commit is contained in:
yeongpin
2025-03-06 11:01:34 +08:00
parent 2e9bd269ad
commit 14f6dfc29d
7 changed files with 46 additions and 16 deletions

View File

@@ -100,6 +100,9 @@ def setup_driver(translator=None):
# 使用无痕模式
co.set_argument("--incognito")
# 设置随机端口
co.set_argument("--no-sandbox")
# 设置随机端口
co.auto_port()