Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector struct { Type SelectorType `json:"type"` Value SelectorValue `json:"value"` }
func NewSelector ¶
func (*Selector) UnmarshalJSON ¶
type SelectorType ¶
type SelectorType interface {
TypeName() string
}
type SelectorValue ¶
type SelectorValue interface {
Value() string
}
type XPath ¶
type XPath string
FIX ME If xpath is specified, it may not work well. Therefore, it is recommended to work with css selector.
type XPathValue ¶
type XPathValue string
func (*XPathValue) Value ¶
func (t *XPathValue) Value() string
Click to show internal directories.
Click to hide internal directories.