XPath class

XPath类用于生成Flutter应用中元素的XPath路径。

Constructors

XPath.createBy({required Element element, required Element pageElement})
工厂方法,用于创建XPath实例。
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
path LinkedList<PathNode>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetElement Element
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
将XPath路径转换为字符串表示
override

Operators

operator ==(Object other) bool
The equality operator.
inherited