MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Below

Method Below

dotnet/src/webdriver/RelativeBy.cs:158–166  ·  view source on GitHub ↗

Locates an element below the specified element. The element to look below for elements. A object for use in finding the elements. If is null.

(IWebElement element)

Source from the content-addressed store, hash-verified

156 /// <returns>A <see cref="RelativeBy"/> object for use in finding the elements.</returns>
157 /// <exception cref="ArgumentNullException">If <paramref name="element"/> is null.</exception>
158 public RelativeBy Below(IWebElement element)
159 {
160 if (element == null)
161 {
162 throw new ArgumentNullException(nameof(element), "Element relative to cannot be null");
163 }
164
165 return SimpleDirection("below", element);
166 }
167
168 /// <summary>
169 /// Locates an element below the specified element.

Calls

no outgoing calls