I want to use one of chrome's extensions inside my python code, how could I do this? Is it possible?
Asked
Active
Viewed 573 times
0
-
Try this post http://stackoverflow.com/questions/8255929/running-webdriver-chrome-with-selenium – Slavik Meltser Sep 11 '16 at 16:08
1 Answers
1
I know the solution in Java, hope it will provide you a hint how it can be done in python.
ChromeOptions options = new ChromeOptions();
String browserExtension = "path/to/the/extension/name.crx";
options.addExtensions(new File(browserExtension));
WebDriver driver = new ChromeDriver(options);

Amanpreet Kaur
- 1,074
- 8
- 7