Running Protranslator in a browser without a special implementation of WebDriver?

I am trying to set up end-to-end tests for an AngularJS web application. I want to run tests on a device with a rather rare browser based on WebKit that does not have a WebDriver implementation. We currently use angular -scenario, which works great, but since it is deprecated , using Protractor will be more reliable for the future.

Is there a WebDriver implementation that implements a subset of the WebDriver interface for browsers that do not currently have a dedicated WebDriver implementation?

+5
source share
1 answer

Since WebDriver is not used for a WebKit-based browser, there is no easy way.

Using a protractor is ideal because it controls the browser at a higher level than the angular-scenario . angular-scenario in theory, is a WebSocket connection that controls and approves on an iFrame, it starts to fail when the guest source does not want to be in the iFrame and other anomalies that usually do not experience what are false positives.

Since the version information of WebKit has not been published, I can offer only a few suggestions, which I will do next.

You have only a couple of options:

  • Ask browser developers to point you to an implementation of Selenium WebDriver.
  • Create your own WebDriver as an extension that communicates via WebSocket using SafariDriver for reference.
  • Stick to angular-scenario or multiple version.

Good luck with your project.

+1
source

Source: https://habr.com/ru/post/1211593/


All Articles