Is there a specific attribute called parentElementArrayFinder
within an ElementFinder
object that can retrieve the parent element?
var myElement = $(".myclass");
var parentElement = myElement.parentElementArrayFinder;
Although not listed in Protractor's public API, is parentElementArrayFinder
a dependable and consistent method for identifying a parent element, ensuring it returns the same element as
myElement.element(by.xpath(".."))
?