DefaultElement
open class DefaultElement(val tab: Tab, var node: <Error class: unknown class>, var tree: <Error class: unknown class>? = null) : Element
Default implementation of the Element interface.
Constructors
Link copied to clipboard
constructor(tab: Tab, node: <Error class: unknown class>, tree: <Error class: unknown class>? = null)
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 value of the element, typically used for input fields.
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
open suspend override fun mouseClick(button: <Error class: unknown class>, modifiers: Int, clickCount: Int)
Performs a native mouse click using Chrome DevTools Protocol events.
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