0

I want to use one of chrome's extensions inside my python code, how could I do this? Is it possible?

Soorena
  • 4,352
  • 5
  • 30
  • 42

1 Answers1

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