angular / protractor-accessibility-plugin

Runs a set of accessibility audits
MIT License
267 stars 37 forks source link

Selenium WebElement#getOuterHtml() API is deprecated #23

Closed evilaliv3 closed 7 years ago

evilaliv3 commented 7 years ago

Selenium WebElement#getOuterHtml() API is deprecated.

https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/CHANGES.md

As suggested me by @lmtierney on #selenium(freenode) this API call should be simply replaced by a simple element.getAttribute('outerHTML')

evilaliv3 commented 7 years ago

I've retested the fix and as far that i know this appear the only issue with selenium 3.0.0, at least for the code triggered by the GlobaLeaks application.

evilaliv3 commented 7 years ago

Can be closed as the patch landed in master.