Protractor Unknown Error, Removing Attribute From Dom
Im new to protractor and trying to remove attribute from DOM but getting 'unknown error', Im not sure what could be the problem Im having a simple HTML with a custom directive.I am
Solution 1:
Locate the element with Protractor and then pass the Web Element into the script:
var elm = element(by.name("rptdate"));
browser.executeScript('arguments[0].removeAttribute("input-date");', elm.getWebElement());
Post a Comment for "Protractor Unknown Error, Removing Attribute From Dom"