所有版本都能正常工作,但是在Brave™可移植 from 端口 (编辑版)中,我使用的是带有插件外部竖琴的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 ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:168 > Process: C:\portapps\brave-portable\app\brave.exe Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:169 > Args (config file): Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.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:\Users\pc\AppData\Local\Temp\ov5gvgs3.hsi Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:171 > Args (hardcoded): --user-data-dir=C:\portapps\brave-portable\data --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 ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:172 > Working dir: C:\portapps\brave-portable\app Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:173 > App path: C:\portapps\brave-portable\app Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:174 > Data path: C:\portapps\brave-portable\data Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:175 > Previous path: C:\portapps\brave-portable Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:181 > Launching Brave Fri, 20 May 2022 14:10:52 CEST INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\v3@v3.4.0\portapps.go:191 > Exec C:\portapps\brave-portable\app\brave.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:\Users\pc\AppData\Local\Temp\ov5gvgs3.hsi --user-data-dir=C:\portapps\brave-portable\data --disable-brave-update --no-default-browser-check --disable-logging --disable-breakpad --disable-machine-id --disable-encryption-win详细信息:
平台:OB2 (开放项目2)
操作系统:Windows 10
测试:97.XX和101.XX
应用程序日志:在尝试连接到BaseBas-时,PuppeteerSharp.ProcessException:在30000 ms后超时。
注:Selenium工作得很好
发布于 2022-12-03 19:03:38
"TimeoutError:尝试连接到浏览器时,在30000 ms后超时!只有r1056772版本的Chrome才能工作。“可能是一种解释,从2022年12月开始。在上尝试并得到了这个错误,非常类似于您的错误。
https://stackoverflow.com/questions/72475232
复制相似问题