Finds the first element in the page that matches the object By mechanism to find the object IWebElement object so that you can interact with that object If is . IWebDriver driver = new InternetExplorerDri
(By by)
| 284 | /// </code> |
| 285 | /// </example> |
| 286 | public IWebElement FindElement(By by) |
| 287 | { |
| 288 | if (by == null) |
| 289 | { |
| 290 | throw new ArgumentNullException(nameof(@by), "by cannot be null"); |
| 291 | } |
| 292 | |
| 293 | return by.FindElement(this); |
| 294 | } |
| 295 | |
| 296 | /// <summary> |
| 297 | /// Finds an element matching the given mechanism and value. |
nothing calls this directly
no test coverage detected