Finds the nth parent/child of the specified element.
Namespace: ArtOfTest.WebAii.Controls
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
Parameters
- level
- Type: SystemInt32
Number of levels to move up/down. Negative values move up. Positive values move down. - e
- Type: ArtOfTest.WebAii.ObjectModelElement
The element to start at.
Return Value
Type: ElementA parent/child element or null if an attempt is made to go beyond the ends of the DOM tree.
See Also