Gripper.WebClient
Gripper.WebClient
IElement Interface
Provides methods and members to interact with an HTML element on the page.
public interface IElement
Remarks
IElement can be mapped to a Node of any type, not just Element. IElement throws a System.NotSupportedException for incompatible method calls on such nodes.
Methods | |
---|---|
ClickAsync(int) | Dispatches a click event onto the area of the element. |
FocusAsync() | Focuses the element. |
GetTextContentAsync() | Returns the textContent of the element. |
SendKeysAsync(string, TimeSpan) | Sends an array of keystrokes to the browser while keeping the element focused. |
SendSpecialKeyAsync(SpecialKey) | Sends a SpecialKey to the browser right after focusing the element. |
WaitUntilInteractable(CancellationToken) | Blocks until the element can receive keyboard or mouse inputs. |