3 ms·
The reason why it doesn't use the Chrome DevTools Protocol is that it (Helium) is a wrapper around Selenium WebDriver [0]. One advantage of wrapping WebDriver,
by eindiran 7y ago
The reason why it doesn't use the Chrome DevTools Protocol is that it (Helium) is a wrapper around Selenium WebDriver [0].
One advantage of wrapping WebDriver, rather than using something like the Chrome DevTools Protocol, is that WebDriver has an interface specified by an W3C Standard [1] [2], and can be implemented for any browser. The Chrome DevTools Protocol (obviously) only works with browsers based on Chrome.
[0] https://www.selenium.dev/documentation/en/webdriver/ https://www.selenium.dev/documentation/en/webdriver/
[1] https://www.w3.org/TR/2018/REC-webdriver1-20180605/ https://www.w3.org/TR/2018/REC-webdriver1-20180605/
[2] https://github.com/w3c/webdriver https://github.com/w3c/webdriver