0
我想在我的python代码中使用chrome扩展中的一个,我怎么能这样做? 这可能吗?如何在Selenium Webdriver中使用chrome扩展
我想在我的python代码中使用chrome扩展中的一个,我怎么能这样做? 这可能吗?如何在Selenium Webdriver中使用chrome扩展
我知道Java中的解决方案,希望它能为您提供一个提示如何在Python中完成。
ChromeOptions options = new ChromeOptions();
String browserExtension = "path/to/the/extension/name.crx";
options.addExtensions(new File(browserExtension));
WebDriver driver = new ChromeDriver(options);
它给我的铅,太感谢你了。 – Soorena
试试这个职位http://stackoverflow.com/questions/8255929/running-webdriver-chrome-with-selenium –