Liking cljdoc? Tell your friends :D

com.blockether.spel.frame

Frame and FrameLocator operations.

Frame and FrameLocator operations.
raw docstring

child-framesclj

(child-frames frame)

Returns child frames.

Params: frame - Frame instance.

Returns: Vector of Frame.

Returns child frames.

Params:
`frame` - Frame instance.

Returns:
Vector of Frame.
sourceraw docstring

fl-firstclj

(fl-first fl)

Returns the first FrameLocator.

Params: fl - FrameLocator instance.

Returns: FrameLocator instance.

Returns the first FrameLocator.

Params:
`fl` - FrameLocator instance.

Returns:
FrameLocator instance.
sourceraw docstring

fl-get-by-labelclj

(fl-get-by-label fl text)

Locates by label within a FrameLocator.

Params: fl - FrameLocator instance. text - String or Pattern.

Returns: Locator instance.

Locates by label within a FrameLocator.

Params:
`fl`   - FrameLocator instance.
`text` - String or Pattern.

Returns:
Locator instance.
sourceraw docstring

fl-get-by-roleclj

(fl-get-by-role fl role)

Locates by ARIA role within a FrameLocator.

Params: fl - FrameLocator instance. role - AriaRole enum value.

Returns: Locator instance.

Locates by ARIA role within a FrameLocator.

Params:
`fl`   - FrameLocator instance.
`role` - AriaRole enum value.

Returns:
Locator instance.
sourceraw docstring

fl-get-by-textclj

(fl-get-by-text fl text)

Locates by text within a FrameLocator.

Params: fl - FrameLocator instance. text - String or Pattern.

Returns: Locator instance.

Locates by text within a FrameLocator.

Params:
`fl`   - FrameLocator instance.
`text` - String or Pattern.

Returns:
Locator instance.
sourceraw docstring

fl-lastclj

(fl-last fl)

Returns the last FrameLocator.

Params: fl - FrameLocator instance.

Returns: FrameLocator instance.

Returns the last FrameLocator.

Params:
`fl` - FrameLocator instance.

Returns:
FrameLocator instance.
sourceraw docstring

fl-locatorclj

(fl-locator fl selector)

Creates a Locator within a FrameLocator.

Params: fl - FrameLocator instance. selector - String. CSS selector.

Returns: Locator instance.

Creates a Locator within a FrameLocator.

Params:
`fl`       - FrameLocator instance.
`selector` - String. CSS selector.

Returns:
Locator instance.
sourceraw docstring

fl-nthclj

(fl-nth fl index)

Returns the nth FrameLocator.

Params: fl - FrameLocator instance. index - Long. Zero-based index.

Returns: FrameLocator instance.

Returns the nth FrameLocator.

Params:
`fl`    - FrameLocator instance.
`index` - Long. Zero-based index.

Returns:
FrameLocator instance.
sourceraw docstring

frame-contentclj

(frame-content frame)

Returns the HTML content of the frame.

Params: frame - Frame instance.

Returns: String.

Returns the HTML content of the frame.

Params:
`frame` - Frame instance.

Returns:
String.
sourceraw docstring

frame-evaluateclj

(frame-evaluate frame expression)
(frame-evaluate frame expression arg)

Evaluates JavaScript in the frame context.

Params: frame - Frame instance. expression - String. JavaScript expression. arg - Optional argument.

Returns: Result or anomaly map.

Evaluates JavaScript in the frame context.

Params:
`frame`      - Frame instance.
`expression` - String. JavaScript expression.
`arg`        - Optional argument.

Returns:
Result or anomaly map.
sourceraw docstring

frame-get-by-labelclj

(frame-get-by-label frame text)

Locates elements by label in the frame.

Params: frame - Frame instance. text - String or Pattern.

Returns: Locator instance.

Locates elements by label in the frame.

Params:
`frame` - Frame instance.
`text`  - String or Pattern.

Returns:
Locator instance.
sourceraw docstring

frame-get-by-roleclj

(frame-get-by-role frame role)

Locates elements by ARIA role in the frame.

Params: frame - Frame instance. role - AriaRole enum value.

Returns: Locator instance.

Locates elements by ARIA role in the frame.

Params:
`frame` - Frame instance.
`role`  - AriaRole enum value.

Returns:
Locator instance.
sourceraw docstring

frame-get-by-test-idclj

(frame-get-by-test-id frame test-id)

Locates elements by test ID in the frame.

Params: frame - Frame instance. test-id - String or Pattern.

Returns: Locator instance.

Locates elements by test ID in the frame.

Params:
`frame`   - Frame instance.
`test-id` - String or Pattern.

Returns:
Locator instance.
sourceraw docstring

frame-get-by-textclj

(frame-get-by-text frame text)

Locates elements by text in the frame.

Params: frame - Frame instance. text - String or Pattern.

Returns: Locator instance.

Locates elements by text in the frame.

Params:
`frame` - Frame instance.
`text`  - String or Pattern.

Returns:
Locator instance.
sourceraw docstring

frame-locatorclj

(frame-locator frame selector)

Creates a Locator for the frame.

Params: frame - Frame instance. selector - String. CSS selector.

Returns: Locator instance.

Creates a Locator for the frame.

Params:
`frame`    - Frame instance.
`selector` - String. CSS selector.

Returns:
Locator instance.
sourceraw docstring

frame-locator-objclj

(frame-locator-obj page-or-frame selector)

Creates a FrameLocator for an iframe.

Params: page-or-frame - Page or Frame instance. selector - String. CSS selector for the iframe.

Returns: FrameLocator instance.

Creates a FrameLocator for an iframe.

Params:
`page-or-frame` - Page or Frame instance.
`selector`      - String. CSS selector for the iframe.

Returns:
FrameLocator instance.
sourceraw docstring

frame-nameclj

(frame-name frame)

Returns the frame name.

Params: frame - Frame instance.

Returns: String.

Returns the frame name.

Params:
`frame` - Frame instance.

Returns:
String.
sourceraw docstring

frame-navigateclj

(frame-navigate frame url)
(frame-navigate frame url nav-opts)

Navigates the frame to a URL.

Params: frame - Frame instance. url - String. opts - Map, optional. Navigation options.

Returns: Response or nil, or anomaly map.

Navigates the frame to a URL.

Params:
`frame` - Frame instance.
`url`   - String.
`opts`  - Map, optional. Navigation options.

Returns:
Response or nil, or anomaly map.
sourceraw docstring

frame-pageclj

(frame-page frame)

Returns the page that owns this frame.

Params: frame - Frame instance.

Returns: Page instance.

Returns the page that owns this frame.

Params:
`frame` - Frame instance.

Returns:
Page instance.
sourceraw docstring

frame-set-content!clj

(frame-set-content! frame html)
(frame-set-content! frame html set-opts)

Sets the HTML content of the frame.

Params: frame - Frame instance. html - String.

Sets the HTML content of the frame.

Params:
`frame` - Frame instance.
`html`  - String.
sourceraw docstring

frame-titleclj

(frame-title frame)

Returns the frame title.

Params: frame - Frame instance.

Returns: String.

Returns the frame title.

Params:
`frame` - Frame instance.

Returns:
String.
sourceraw docstring

frame-urlclj

(frame-url frame)

Returns the frame URL.

Params: frame - Frame instance.

Returns: String.

Returns the frame URL.

Params:
`frame` - Frame instance.

Returns:
String.
sourceraw docstring

frame-wait-for-functionclj

(frame-wait-for-function frame expression)

Waits for a JavaScript function to return truthy in the frame.

Params: frame - Frame instance. expression - String. JavaScript expression.

Returns: JSHandle or anomaly map.

Waits for a JavaScript function to return truthy in the frame.

Params:
`frame`      - Frame instance.
`expression` - String. JavaScript expression.

Returns:
JSHandle or anomaly map.
sourceraw docstring

frame-wait-for-load-stateclj

(frame-wait-for-load-state frame)
(frame-wait-for-load-state frame state)

Waits for the frame to reach a load state.

Params: frame - Frame instance. state - Keyword. :load :domcontentloaded :networkidle.

Waits for the frame to reach a load state.

Params:
`frame` - Frame instance.
`state` - Keyword. :load :domcontentloaded :networkidle.
sourceraw docstring

frame-wait-for-selectorclj

(frame-wait-for-selector frame selector)
(frame-wait-for-selector frame selector wait-opts)

Waits for a selector in the frame.

Params: frame - Frame instance. selector - String. opts - Map, optional.

Returns: ElementHandle or nil, or anomaly map.

Waits for a selector in the frame.

Params:
`frame`    - Frame instance.
`selector` - String.
`opts`     - Map, optional.

Returns:
ElementHandle or nil, or anomaly map.
sourceraw docstring

is-detached?clj

(is-detached? frame)

Returns whether the frame has been detached.

Params: frame - Frame instance.

Returns: Boolean.

Returns whether the frame has been detached.

Params:
`frame` - Frame instance.

Returns:
Boolean.
sourceraw docstring

parent-frameclj

(parent-frame frame)

Returns the parent frame.

Params: frame - Frame instance.

Returns: Frame or nil.

Returns the parent frame.

Params:
`frame` - Frame instance.

Returns:
Frame or nil.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close