为什么Puppeteer不能在Brave™便携式中工作?



所有版本都可以,但是,在Brave™便携式从portapps(编辑版本),不工作我使用插件extrassharp的puppeteerSharp,所以当我尝试打开浏览器,浏览器打开但没有导航,这是浏览器日志的输出:

D:/a/brave-portable/brave-portable/main.go:109 > Cannot import registry key error="reg file C:\portapps\brave-portable\reg\Brave-Browser-Development.reg not found" Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:168 > Process: C:portappsbrave-portableappbrave.exe Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:169 > Args (config file): Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:170 > Args (cmd line): --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-features=TranslateUI --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain about:blank --disable-notifications --disable-blink-features=AutomationControlled --remote-debugging-port=0 --user-data-dir=C:UserspcAppDataLocalTempov5gvgs3.hsi Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:171 > Args (hardcoded): --user-data-dir=C:portappsbrave-portabledata --disable-brave-update --no-default-browser-check --disable-logging --disable-breakpad --disable-machine-id --disable-encryption-win Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:172 > Working dir: C:portappsbrave-portableapp Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:173 > App path: C:portappsbrave-portableapp Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:174 > Data path: C:portappsbrave-portabledata Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:175 > Previous path: C:portappsbrave-portable Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:181 > Launching Brave Fri, 20 May 2022 14:10:52 CEST INF ......runneradmingopkgmodgithub.comportappsportappsv3@v3.4.0portapps.go:191 > Exec C:portappsbrave-portableappbrave.exe --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-features=TranslateUI --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain about:blank --disable-notifications --disable-blink-features=AutomationControlled --remote-debugging-port=0 --user-data-dir=C:UserspcAppDataLocalTempov5gvgs3.hsi --user-data-dir=C:portappsbrave-portabledata --disable-brave-update --no-default-browser-check --disable-logging --disable-breakpad --disable-machine-id --disable-encryption-win

更多细节:

平台:OB2(Openbullet 2)

OS:Windows 10

已测试On:XX和101。XX

应用日志:PuppeteerSharp。processsexception:尝试连接Base时,在30000毫秒后超时!

N。B:工作良好

"TimeoutError:连接浏览器超时,超时时间超过30000毫秒!只有Chrome版本r1056772保证工作。">可能是一个解释,截至2022年12月。在Chrome Portable上尝试并得到这个错误,与您的非常相似。

相关内容

  • 没有找到相关文章

最新更新