Documentation
¶
Overview ¶
Package lib registers HTML query functions for the Ferret HTML module.
Index ¶
- func AttributeGet(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func AttributeQuery(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func AttributeRemove(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func AttributeSet(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func BaseURL(ctx context.Context, root runtime.Value) (runtime.Value, error)
- func Blur(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Click(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func ClickAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func CookieDel(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func CookieGet(ctx context.Context, root, nameValue runtime.Value) (runtime.Value, error)
- func CookieSet(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Download(_ context.Context, url runtime.Value) (runtime.Value, error)
- func Element(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func ElementExists(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func Elements(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func ElementsCount(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func Focus(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Frames(ctx context.Context, arg1, arg2, arg3 runtime.Value) (runtime.Value, error)
- func GetInnerHTML(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func GetInnerHTMLAll(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func GetInnerText(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func GetInnerTextAll(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func Hover(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Input(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func InputClear(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func IsHTMLDocument(_ context.Context, arg runtime.Value) (runtime.Value, error)
- func IsHTMLElement(_ context.Context, arg runtime.Value) (runtime.Value, error)
- func MouseMoveXY(ctx context.Context, root, xValue, yValue runtime.Value) (runtime.Value, error)
- func Navigate(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func NavigateBack(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func NavigateForward(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Open(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func OpenOrCastPage(ctx context.Context, value runtime.Value) (drivers.HTMLPage, bool, error)
- func PDF(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func PageExists(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Pagination(ctx context.Context, root, selectorValue runtime.Value) (runtime.Value, error)
- func Parse(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Press(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func PressSelector(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func RegisterLib(ns runtime.Namespace) error
- func RegisterLibLegacy(ns runtime.Namespace) error
- func ResolveURL(ctx context.Context, root, url runtime.Value) (runtime.Value, error)
- func Screenshot(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func ScrollBottom(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func ScrollInto(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func ScrollTop(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func ScrollXY(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func Select(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func SetInnerHTML(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func SetInnerText(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func StyleGet(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func StyleRemove(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func StyleSet(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func URL(ctx context.Context, root runtime.Value) (runtime.Value, error)
- func Unhover(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func ValidatePageRanges(pageRanges string) (bool, error)
- func WaitAttribute(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitAttributeAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitClass(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitClassAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitElement(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNavigation(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoAttribute(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoAttributeAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoClass(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoClassAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoElement(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoStyle(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitNoStyleAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitStyle(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func WaitStyleAll(ctx context.Context, args ...runtime.Value) (runtime.Value, error)
- func XPath(ctx context.Context, arg1, arg2 runtime.Value) (runtime.Value, error)
- func XPathSelector(_ context.Context, expression runtime.Value) (runtime.Value, error)
- type PageLoadParams
- type Paging
- type PagingIterator
- type ParseParams
- type WaitNavigationParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeGet ¶
AttributeGet returns selected attributes from an HTML root.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param names {String...} Attribute names. @return {Object} Existing attribute values keyed by name.
func AttributeQuery ¶
AttributeQuery returns selected attributes from the first matching element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param names {String...} Attribute names. @return {Object} Existing attribute values keyed by name.
func AttributeRemove ¶
AttributeRemove removes attributes from an HTML root.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param names {String...} Attribute names to remove. @return {None} No value.
func AttributeSet ¶
AttributeSet sets one or more attributes on an HTML root.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param nameOrAttributes {String|Object} Attribute name or attribute map. @param value {String|Object?} Attribute value when a name is supplied. @return {None} No value.
func BaseURL ¶
BaseURL returns the effective base URL of a page or document.
@param root {HTMLPage|HTMLDocument} Page or document. @return {String} Effective document base URL.
func Blur ¶
Blur removes focus from an HTML root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {Boolean} Whether the target was blurred.
func Click ¶
Click clicks an HTML root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrCount {String|Int?} Element selector or click count. @param count {Int?} Click count for a selected element. @return {Boolean} Whether the target was found and clicked.
func ClickAll ¶
ClickAll clicks every element matching a selector.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param count {Int?} Clicks per element. @return {Boolean} Whether at least one element was found and clicked.
func CookieDel ¶
CookieDel deletes cookies from a page.
@param page {HTMLPage} Target page. @param cookiesOrNames {Any...} Cookie values or cookie names to delete. @return {None} No value.
func CookieGet ¶
CookieGet returns a named page cookie when present.
@param page {HTMLPage} Target page. @param name {String} Cookie name. @return {HTTPCookie|None} Cookie value or None.
func CookieSet ¶
CookieSet sets cookies on a page.
@param page {HTMLPage} Target page. @param cookies {Any...} Cookie values to set. @return {None} No value.
func Download ¶
Download downloads a resource from a URL.
@param url {String} Resource URL. @return {Binary} Downloaded bytes.
func Element ¶
Element returns the first element matching a selector.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @return {HTMLElement|None} Matching element or None.
func ElementExists ¶
ElementExists reports whether an element matches a selector.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @return {Boolean} Whether a matching element exists.
func Elements ¶
Elements returns all elements matching a selector.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @return {Array<HTMLElement>} Matching elements.
func ElementsCount ¶
ElementsCount returns the number of elements matching a selector.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @return {Int} Number of matching elements.
func Focus ¶
Focus focuses an HTML root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {Boolean} Whether the target was focused.
func Frames ¶
Frames returns page frames whose property matches a regular expression.
@param page {HTMLPage} Page whose frames to search. @param property {String} Frame property name. @param expression {String} Regular expression for the property value. @return {Array<HTMLDocument>} Matching frame documents.
func GetInnerHTML ¶
GetInnerHTML returns HTML from a root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {String} Inner HTML, or an empty string when no element matches.
func GetInnerHTMLAll ¶
GetInnerHTMLAll returns HTML from every matching element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @return {Array<String>} Inner HTML values in match order.
func GetInnerText ¶
GetInnerText returns text from a root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {String} Inner text, or an empty string when no element matches.
func GetInnerTextAll ¶
GetInnerTextAll returns text from every matching element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @return {Array<String>} Inner text values in match order.
func Hover ¶
Hover moves the mouse over an HTML root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {Boolean} Whether the target was hovered.
func Input ¶
Input types a value into an HTML root or selected input element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param valueOrSelector {Any} Input value or element selector. @param valueOrDelay {Any?} Input value or keyboard delay. @param delay {Int?} Keyboard delay in milliseconds. @return {Boolean} Whether the target was found and received input.
func InputClear ¶
InputClear clears an HTML root or selected input element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {Boolean} Whether the target was found and cleared.
func IsHTMLDocument ¶
IsHTMLDocument reports whether a value is an HTML document.
@param value {Any} Value to inspect. @return {Boolean} Whether the value is an HTMLDocument.
func IsHTMLElement ¶
IsHTMLElement reports whether a value is an HTML element.
@param value {Any} Value to inspect. @return {Boolean} Whether the value is an HTMLElement.
func MouseMoveXY ¶
MouseMoveXY moves the mouse to absolute viewport coordinates.
@param root {HTMLPage|HTMLDocument} Page or document. @param x {Number} Horizontal coordinate. @param y {Number} Vertical coordinate. @return {Boolean} Whether the mouse position changed.
func Navigate ¶
Navigate loads a URL in a page and waits for navigation to finish.
@param page {HTMLPage} Target page. @param url {String} Destination URL. @param timeout {Int?} Navigation timeout in milliseconds. @return {Boolean} True when navigation succeeds.
func NavigateBack ¶
NavigateBack moves backward through page history.
@param page {HTMLPage} Target page. @param skip {Int?} Number of history entries to skip. @param timeout {Int?} Navigation timeout in milliseconds. @return {Boolean} Whether history existed and navigation succeeded.
func NavigateForward ¶
NavigateForward moves forward through page history.
@param page {HTMLPage} Target page. @param skip {Int?} Number of history entries to skip. @param timeout {Int?} Navigation timeout in milliseconds. @return {Boolean} Whether history existed and navigation succeeded.
func Open ¶
Open loads an HTML page from a URL.
Options may select a driver, timeout, user agent, cookie reuse, cookies, headers, ignored resources or status codes, viewport, source charset, and an initScript. For CDP, beforeDocument uses the browser's new-document mechanism; same-target frames inherit it subject to browser target limits. afterNavigation runs after Ferret's controlled navigation reaches main-frame readiness.
@param url {String} URL to load. @param params {Object?} Driver and page-loading options. @return {HTMLPage} Loaded page.
func OpenOrCastPage ¶
func PDF ¶
PDF renders a page or URL as a PDF document.
Options control orientation, headers and footers, background graphics, scale, paper size, margins, page ranges, templates, and CSS page-size preference.
@param target {HTMLPage|String} Page or URL to render. @param params {Object?} PDF layout and rendering options. @return {Binary} Rendered PDF bytes.
func PageExists ¶
PageExists reports whether a URL returns a successful HTTP response.
@param url {String} URL to check. @param options {Object?} Request options, including headers. @return {Boolean} Whether the URL returned a successful response.
func Pagination ¶
Pagination returns an iterator that advances by clicking a selector.
The first iteration yields the current page without clicking.
@param page {HTMLPage} Page to paginate. @param selector {String} Next-page selector. @return {Iterator<Int>} Iterator over zero-based page positions.
func Parse ¶
Parse loads an HTML page from string or binary content.
Options may select a driver, cookie reuse, cookies, headers, and viewport.
@param html {String|Binary} HTML content. @param params {Object?} Driver and parsing options. @return {HTMLPage} Parsed page.
func Press ¶
Press sends keyboard input to an HTML root.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param keys {String|Array<String>} Keyboard key or keys. @param count {Int?} Number of presses. @return {Boolean} True when the keys are sent.
func PressSelector ¶
PressSelector sends keyboard input to a selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param keys {String|Array<String>} Keyboard key or keys. @param count {Int?} Number of presses. @return {Boolean} True when the keys are sent.
func RegisterLib ¶
func RegisterLibLegacy ¶
func ResolveURL ¶
ResolveURL resolves a URL against a page or document's effective base URL.
@param root {HTMLPage|HTMLDocument} Page or document. @param url {String} URL to resolve. @return {String} Resolved URL.
func Screenshot ¶
Screenshot captures a screenshot of a page or URL.
The format is JPEG or PNG; quality applies only to JPEG.
@param target {HTMLPage|String} Page or URL to capture. @param params {Object?} Capture bounds, format, and quality options. @return {Binary} Screenshot bytes.
func ScrollBottom ¶
ScrollBottom scrolls a page or document to the bottom.
@param root {HTMLPage|HTMLDocument} Page or document. @param options {Object?} Scroll behavior and alignment options. @return {Boolean} Whether scrolling was initiated.
func ScrollInto ¶
ScrollInto scrolls an HTML root or selected element into view.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrOptions {String|Object?} Element selector or scroll options. @param options {Object?} Scroll behavior and alignment options. @return {Boolean} Whether scrolling was initiated.
func ScrollTop ¶
ScrollTop scrolls a page or document to the top.
@param root {HTMLPage|HTMLDocument} Page or document. @param options {Object?} Scroll behavior and alignment options. @return {Boolean} Whether scrolling was initiated.
func ScrollXY ¶
ScrollXY scrolls a page or document to absolute coordinates.
@param root {HTMLPage|HTMLDocument} Page or document. @param x {Number} Horizontal coordinate. @param y {Number} Vertical coordinate. @param options {Object?} Scroll behavior and alignment options. @return {Boolean} Whether scrolling was initiated.
func Select ¶
Select selects values in a select element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param valuesOrSelector {String|Array<String>} Values or element selector. @param values {String|Array<String>?} Values when a selector is supplied. @return {Array<String>} Selected values.
func SetInnerHTML ¶
SetInnerHTML sets HTML on a root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param htmlOrSelector {String} HTML content or element selector. @param html {String?} HTML content when a selector is supplied. @return {None} No value.
func SetInnerText ¶
SetInnerText sets text on a root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param textOrSelector {String} Text content or element selector. @param text {String?} Text content when a selector is supplied. @return {None} No value.
func StyleGet ¶
StyleGet returns selected style values from an element.
@param element {HTMLElement} Target element. @param names {String...} Style names. @return {Object} Existing style values keyed by name.
func StyleRemove ¶
StyleRemove removes style values from an element.
@param element {HTMLElement} Target element. @param names {String...} Style names to remove. @return {None} No value.
func StyleSet ¶
StyleSet sets one or more style values on an element.
@param element {HTMLElement} Target element. @param nameOrStyles {String|Object} Style name or style map. @param value {Any?} Style value when a name is supplied. @return {None} No value.
func URL ¶
URL returns the current URL of a page or document.
@param root {HTMLPage|HTMLDocument} Page or document. @return {String} Current document URL.
func Unhover ¶
Unhover moves the mouse outside an HTML root or selected element.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String?} Element selector. @return {Boolean} Whether the mouse was moved away.
func ValidatePageRanges ¶
func WaitAttribute ¶
WaitAttribute waits for an attribute value to appear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrName {String} Element selector or attribute name. @param nameOrValue {Any} Attribute name or expected value. @param valueOrTimeout {Any?} Expected value or timeout. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed.
func WaitAttributeAll ¶
WaitAttributeAll waits for an attribute value on all matching elements.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param name {String} Attribute name. @param value {Any} Expected value. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed on every match.
func WaitClass ¶
WaitClass waits for a class to appear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrClass {String} Element selector or class name. @param classOrTimeout {String|Int?} Class name or timeout. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the class appears.
func WaitClassAll ¶
WaitClassAll waits for a class on all matching elements.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param class {String} Class name. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the class appears on every match.
func WaitElement ¶
WaitElement waits for an element to appear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the element appears.
func WaitNavigation ¶
WaitNavigation waits for page or frame navigation.
Navigation options may specify timeout, target URL, and frame.
@param page {HTMLPage} Target page. @param paramsOrTimeout {Int|Object?} Timeout or navigation options. @return {Boolean} True when navigation completes.
func WaitNoAttribute ¶
WaitNoAttribute waits for an attribute value to disappear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrName {String} Element selector or attribute name. @param nameOrValue {Any} Attribute name or expected value. @param valueOrTimeout {Any?} Expected value or timeout. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed.
func WaitNoAttributeAll ¶
WaitNoAttributeAll waits for an attribute value to disappear from all matching elements.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param name {String} Attribute name. @param value {Any} Expected value. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed on every match.
func WaitNoClass ¶
WaitNoClass waits for a class to disappear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrClass {String} Element selector or class name. @param classOrTimeout {String|Int?} Class name or timeout. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the class disappears.
func WaitNoClassAll ¶
WaitNoClassAll waits for a class to disappear from all matching elements.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param class {String} Class name. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the class disappears from every match.
func WaitNoElement ¶
WaitNoElement waits for an element to disappear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the element disappears.
func WaitNoStyle ¶
WaitNoStyle waits for a style value to disappear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrName {String} Element selector or style name. @param nameOrValue {Any} Style name or expected value. @param valueOrTimeout {Any?} Expected value or timeout. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed.
func WaitNoStyleAll ¶
WaitNoStyleAll waits for a style value to disappear from all matching elements.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param name {String} Style name. @param value {Any} Expected value. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed on every match.
func WaitStyle ¶
WaitStyle waits for a style value to appear.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selectorOrName {String} Element selector or style name. @param nameOrValue {Any} Style name or expected value. @param valueOrTimeout {Any?} Expected value or timeout. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed.
func WaitStyleAll ¶
WaitStyleAll waits for a style value on all matching elements.
@param root {HTMLPage|HTMLDocument|HTMLElement} HTML root. @param selector {String} Element selector. @param name {String} Style name. @param value {Any} Expected value. @param timeout {Int?} Wait timeout in milliseconds. @return {Boolean} True when the expected state is observed on every match.
Types ¶
type PageLoadParams ¶
type PagingIterator ¶
type PagingIterator struct {
// contains filtered or unexported fields
}
type ParseParams ¶
type ParseParams struct {
Driver string `json:"driver"`
drivers.ParseParams
}
type WaitNavigationParams ¶
type WaitNavigationParams struct {
}
Source Files
¶
- attr_get.go
- attr_query.go
- attr_remove.go
- attr_set.go
- blur.go
- clear.go
- click.go
- click_all.go
- cookie_del.go
- cookie_get.go
- cookie_helpers.go
- cookie_set.go
- doc.go
- document.go
- document_exists.go
- download.go
- element.go
- element_exists.go
- elements.go
- elements_count.go
- find_frames.go
- focus.go
- get_inner_html.go
- get_inner_html_all.go
- get_inner_text.go
- get_inner_text_all.go
- hover.go
- input.go
- is_html_document.go
- is_html_element.go
- lib.go
- mouse_xy.go
- navigate.go
- navigate_back.go
- navigate_forward.go
- pagination.go
- parse.go
- pdf.go
- press.go
- press_selector.go
- root_element.go
- screenshot.go
- scroll_bottom.go
- scroll_element.go
- scroll_top.go
- scroll_xy.go
- select.go
- set_inner_html.go
- set_inner_text.go
- style_get.go
- style_remove.go
- style_set.go
- types.go
- unhover.go
- url.go
- wait_attr.go
- wait_attr_all.go
- wait_class.go
- wait_class_all.go
- wait_element.go
- wait_navigation.go
- wait_style.go
- wait_style_all.go
- xpath.go
- xpath_selector.go