是否有命令行选项可以默认情况下使用Shields向下启动Brave浏览器?
我正在与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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我目前能找到的只是这些链接:
您可以使用命令行参数更改标志。
我将在几个小时内进行更新。
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.