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

Method Clear

dotnet/src/webdriver/IWebElement.cs:95–95  ·  view source on GitHub ↗

Clears the content of this element. If this element is a text entry element, the method will clear the value. It has no effect on other elements. Text entry elements are defined as elements with INPUT or TEXTAREA tags. Thrown when the target element is no longer valid in the document DOM.</

()

Source from the content-addressed store, hash-verified

93 /// are defined as elements with INPUT or TEXTAREA tags.</remarks>
94 /// <exception cref="StaleElementReferenceException">Thrown when the target element is no longer valid in the document DOM.</exception>
95 void Clear();
96
97 /// <summary>
98 /// Simulates typing text into the element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected