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

Method FindElement

dotnet/src/webdriver/ISearchContext.cs:36–36  ·  view source on GitHub ↗

Finds the first using the given method. The locating mechanism to use. The first matching on the current context. If is . If no element matches t

(By by)

Source from the content-addressed store, hash-verified

34 /// <exception cref="ArgumentNullException">If <paramref name="by" /> is <see langword="null"/>.</exception>
35 /// <exception cref="NoSuchElementException">If no element matches the criteria.</exception>
36 IWebElement FindElement(By by);
37
38 /// <summary>
39 /// Finds all <see cref="IWebElement">IWebElements</see> within the current context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected