frameworkium-core icon indicating copy to clipboard operation
frameworkium-core copied to clipboard

EventFiringWebDriver has been deprecated since selenium:4.0.0-beta2

Open Mjl33 opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. EventFiringWebDriver has been deprecated since selenium:4.0.0-beta2

Describe the solution you'd like Refactor to the new EventFiringDecorator and WebDriverListeners. https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/events/EventFiringWebDriver.html

Describe alternatives you've considered

Additional context

Mjl33 avatar Sep 28 '21 00:09 Mjl33

the Selenium 4's way of casting RemoteWebDriver WebDriver webDriver = UITestLifecycle.get().getWebDriver(); RemoteWebDriver remoteDriver = (RemoteWebDriver) webDriver; remoteDriver.setFileDetector(new LocalFileDetector());

Mjl33 avatar Dec 18 '21 09:12 Mjl33