Package-level declarations

Types

Link copied to clipboard
value class XPathExpression(val value: String)
value class XPathExpression(val value: String)

XPath expression.

Properties

Link copied to clipboard

Returns the document HTML element that usually represents HTML tag, if any.

Link copied to clipboard

The element, on which these attributes are specified.

Link copied to clipboard

Returns the currently focused element in the document, if any.

Link copied to clipboard

HTML element for the form that contains this control, if any.

Link copied to clipboard

Returns the next node in the document tree, if any.

Link copied to clipboard

A list of the option elements of the select element.

Link copied to clipboard

Returns the parent of this node, if any.

Link copied to clipboard

Returns the previous node in the document tree, if any.

Link copied to clipboard

Number of the specified attributes.

Link copied to clipboard

A string that represents the value associated with the form control.

Link copied to clipboard

Returns XPathExpression that represents path to this Node, or an empty expression if it is not available.

Functions

Link copied to clipboard

Evaluates the given expression for the node and returns XPathResult of the XPathResultType.ANY type.

fun Node.evaluate(expression: XPathExpression, type: <Error class: unknown class>): XPathResult
fun Node.evaluate(expression: XPathExpression, type: <Error class: unknown class>): XPathResult

Evaluates the given expression for the node and returns XPathResult of the given type.

Link copied to clipboard

Returns the first Element found in the current search context by the given className, if any.

Link copied to clipboard

Returns the first Element found in the current search context by the given cssSelector, if any.

Link copied to clipboard

Returns the first Element found in the current search context by the given id, if any.

Link copied to clipboard

Returns the first Element found in the current search context by the given name, if any.

Link copied to clipboard

Returns the first Element found in the current search context by the given tagName, if any.

Link copied to clipboard

Returns the first Element found in the current search context by the given className.

Link copied to clipboard

Returns the first Element found in the current search context by the given cssSelector.

Link copied to clipboard

Returns the first Element found in the current search context by the given id.

Link copied to clipboard

Returns the first Element found in the current search context by the given name.

Link copied to clipboard

Returns the first Element found in the current search context by the given tagName.

Link copied to clipboard
operator fun ElementAttributes.set(name: String, value: String)
operator fun ElementAttributes.set(name: String, value: String)

Adds a new attribute with the given name and value.