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

Method Near

dotnet/src/webdriver/RelativeBy.cs:254–257  ·  view source on GitHub ↗

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

(IWebElement element)

Source from the content-addressed store, hash-verified

252 /// <returns>A <see cref="RelativeBy"/> object for use in finding the elements.</returns>
253 /// <exception cref="ArgumentNullException">If <paramref name="element"/> is null.</exception>
254 public RelativeBy Near(IWebElement element)
255 {
256 return Near(element, 50);
257 }
258
259 /// <summary>
260 /// Locates an element near the specified element.

Calls 1

AddMethod · 0.45