是否有命令行选项可以默认情况下使用Shields向下启动Brave浏览器?

发布于 2025-02-09 07:41:22 字数 487 浏览 0 评论 0原文

我正在与Python一起使用Selenium,并且正在尝试访问一个网站,该网站如果勇敢的盾牌已经升起,尤其是阻塞指纹。我想找到一种禁用盾牌或仅通过硒阻断指纹的方法。如果在通过命令行打开勇敢时默认禁用盾牌的命令行选项,我可以向驱动程序添加一个选项:

options = ChromeOptions()

disable_shields = 'correct command line option for shields down' 
options.add_argument(disable-shields)

options.binary_location = "/usr/bin/brave-browser"

driver = Chrome(options=options)

我找不到勇敢浏览器的服装命令行选项列表,只有Chromium Ones 。

也将不胜感激,而不是命令行选项,而不是命令行选项。

I'm using Selenium with Python and I'm trying to access a website which is broken if the Brave Shields are up, and in particular if blocking fingerprinting. I'd like to find a way to disable Shields or just the blocking of fingerprinting via Selenium. If there is a command line option to disable Shields by default when opening Brave via command line, I could just add an option to the driver:

options = ChromeOptions()

disable_shields = 'correct command line option for shields down' 
options.add_argument(disable-shields)

options.binary_location = "/usr/bin/brave-browser"

driver = Chrome(options=options)

I couldn't find a list of costum command line options for brave-browser, just the chromium ones.

A different approach, instead of the command line option, would also be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ヅ她的身影、若隐若现 2025-02-16 07:41:22

我目前能找到的只是这些链接:

您可以使用命令行参数更改标志。

我将在几个小时内进行更新。

All I could find by the moment is these links:

You can change flags with command line arguments.

I will update this in some hours when I'm able to.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文