Skip to content

Commit 275e93a

Browse files
genz27warp-agent
andcommitted
fix: 移除 nodriver 不支持的 sandbox 参数
--no-sandbox 已在 browser_args 中设置 Co-Authored-By: Warp <agent@warp.dev>
1 parent 27c62df commit 275e93a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/services/browser_captcha_personal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ async def initialize(self):
206206
self.browser = await uc.start(
207207
headless=self.headless,
208208
user_data_dir=self.user_data_dir,
209-
sandbox=False, # nodriver 需要此参数来禁用 sandbox
210209
browser_args=[
211210
'--no-sandbox',
212211
'--disable-dev-shm-usage',

0 commit comments

Comments
 (0)