Forum Discussion
EdgeDriver (v81) no longer supports ability to pass in DriverService as a parameter
- May 14, 2020
mloughery Look like some things are missing from the Java language bindings. We're going to take a look at getting them updated in the next couple weeks.
Thanks so much for taking the time to post this here.
-John
Hi johnjansen thanks for your quick response.
Yeah I actually linked that article in my question ("breaking change") but I did't find anything to help there. I am using Java with Selenium so that C# code isn't a great deal of help to me. I also checked the javadocs for the https://www.javadoc.io/static/org.seleniumhq.selenium/selenium-edge-driver/4.0.0-alpha-5/org/openqa/selenium/edge/EdgeDriverService.html and https://www.javadoc.io/static/org.seleniumhq.selenium/selenium-edge-driver/4.0.0-alpha-5/org/openqa/selenium/edge/ChromiumEdgeDriverService.html classes and there is no CreateChromiumService method, so I think this issue is very specific to Java.
To clarify a bit more about what exactly I want, below is what I use in Chrome - it is working fine:
ChromeDriverService chromeDriverService = ChromeDriverService.createDefaultService();
driver = new ChromeDriver(chromeDriverService,new ChromeOptions())
And this is what I want to do in Edge Chromium - this results in error as the constructor does not exist for these parameters:
EdgeDriverService edgeDriverService = EdgeDriverService.createDefaultService();
driver = new EdgeDriver(edgeDriverService,new EdgeOptions());
p.s. It's exactly the same for ChromiumEdgeDriverService
Hope that all makes sense.
Thanks,
Mark
mloughery ah, sorry I didn't click the link to see that you already read the article 🙂
If this is specific to the Java bindings, then it should go to Selenium. But before doing that, I'll check here on whether we have status for updated language bindings.