Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

getOuterHtml() has been deprecated, and that issue was fixed in this repo, but the change was not published to NPM. #35

Open
guillermosnipe opened this issue May 6, 2019 · 1 comment

Comments

@guillermosnipe
Copy link

I'm running some protractor e2e tests, and I'm getting errors like:
[16:43:19] E/plugins - TypeError: elem.getOuterHtml is not a function

This is caused because the module still uses thee deprecated getOuterHtml() method.
This issue was fixed in this repo, getOuterHtml was removed and replaced correctly by getAttribute("outerHTML"), but this change was not published. The latest version is 0.3.0, dated 2 years ago.

elem.getAttribute('outerHTML').then(function(text) {

It would be from great help if you publish the latest code. Thanks a lot in advance.

@trinajoy
Copy link

trinajoy commented Mar 4, 2020

I am experiencing the same error. Any update on this issue?

E/plugins - 		Failure during teardown: elem.getOuterHtml is not a function
E/plugins - 		TypeError: elem.getOuterHtml is not a function
    "protractor": "^5.4.2",
    "protractor-accessibility-plugin": "^0.3.0",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants