protractor
protractor copied to clipboard
browser.driver.findElement(by.id()) throwing NoSuchElementError
Hi,
I have a non-angular webpage which has a sub-part containing a list of buttons:
There should be no error with clicking on a list element by id. You should use browser.pause to debug your application and make sure the html is present as you expect.
Hi,
My application consisted of iframes. So, before clicking on an element, it needs to switch to that particular frame. browser.driver.switchTo().frame("IFRAMEID");
Hence, closing the issue.
Thanks, Sakshi