angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

getAttribute seems to not work anymore on latest firefox #5522

Closed evilaliv3 closed 3 years ago

evilaliv3 commented 3 years ago

It seems that code like the following is not working anymore on latest firefox: expect(await element(by.model("modelname")).getAttribute("value")).toEqual("42");

The function getAttribute seems to always return null;

The same code always worked on previous version of firefox and continue to work on all other browsers.

I suspect this could be due to an incompatibility with recent firefox and the version of selenium included in protractor (that is unfortunately still 3.6.0).

evilaliv3 commented 3 years ago

I was actually wrong reporting this. The bug actually verifies only on chrome.