TestAutomationEssentials.Selenium.BrowserElement.GetParent C# (CSharp) Method

GetParent() public method

Returns the immediate parent element containing the current element
public GetParent ( string description ) : BrowserElement
description string The description to give to the parent element
return BrowserElement
        public BrowserElement GetParent(string description)
        {
            return new BrowserElement(this, GetParentLocator(), description);
        }