How can I an load extension in Edge with Selenium?
- my extension file is appx file.
- I already worked with loading extensions for chrome (with .crx file) and I wanted to do the same with Edge, but it doesn't work the same.
Chrome example:
ChromeOptions options = new ChromeOptions();
options.addExtensions(new File("/path/to/extension.crx"));
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(ChromeOptions.CAPABILITY, options);
ChromeDriver driver = new ChromeDriver(capabilities);
Edge:
EdgeOptions options = new EdgeOptions();
But "addExtensions" doesn't exist for Edge.