Element
interface Element
Represents a DOM element in the browser.
This class provides methods to interact with the DOM element, such as clicking, sending keys, and applying JavaScript functions. It also provides properties to access the element's tag name, text content, and position in the viewport.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Clears the input of the element by setting its value to an empty string.
Link copied to clipboard
Clears the input of the element by simulating a series of delete key presses.
Link copied to clipboard
Retrieves the position of the element in the viewport.
Link copied to clipboard
Inserts text into the element, simulating user input.
Link copied to clipboard
Finds the first descendant element matching the given CSS selector, similar to JavaScript's querySelector().
Link copied to clipboard
Finds all descendant elements matching the given CSS selector, similar to JavaScript's querySelectorAll().
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard