Open vaadin-bot opened 7 years ago
Originally by @Ansku
Proposed classes still don't fix the behaviour when the search happens via ByVaadin.
Originally by @Ansku
Updated workaround in https://vaadin.com/pro/support#1451 (only accessible to Vaadin staff, if anyone else is interested let me know). It was rather harder to get this working with ByVaadin, so the solution is version-specific and I didn't add it here. Might give ideas for an actual patch, though.
Originally by @Ansku
EventFiringWebDriver and TestBenchDriverProxy both wrap the underlying driver and override the functionality. Unfortunately they don't do it in a particularly compatible manner.
Attached a starting point for integrating the behaviours. Has only been tested against the test generated by Eclipse Vaadin plug-in legacy project yet.
Creating the driver: setDriver(new PhantomJSDriver());
Registering a WebDriverEventListener: getDriver().register(eventListener);
Imported from https://dev.vaadin.com/ issue #20360