Liking cljdoc? Tell your friends :D
Clojure only.

com.blockether.spel.sci-env

SCI (Small Clojure Interpreter) environment for native-image REPL.

Registers all spel functions as SCI namespaces so they can be evaluated in a native-image compiled REPL without JVM startup.

The SCI context wraps a stateful Playwright session with managed atoms for the Playwright, Browser, BrowserContext, and Page instances.

Namespaces available in --eval mode: spel/ - Simplified API (implicit page/context from atoms) snapshot/ - Accessibility snapshot capture annotate/ - Screenshot annotation input/ - Keyboard, Mouse, Touchscreen (raw pass-throughs) frame/ - Frame and FrameLocator operations (raw pass-throughs) net/ - Network request/response/route (raw pass-throughs) loc/ - Locator operations (raw pass-throughs, explicit Locator arg) assert/ - Assertion functions (raw pass-throughs, explicit assertion obj) core/ - Lifecycle stubs + utility pass-throughs

Usage: (def ctx (create-sci-ctx)) (eval-string ctx "(spel/start!)") (eval-string ctx "(spel/navigate "https://example.org")") (eval-string ctx "(spel/capture-snapshot)") (eval-string ctx "(spel/stop!)")

SCI (Small Clojure Interpreter) environment for native-image REPL.

Registers all spel functions as SCI namespaces so they
can be evaluated in a native-image compiled REPL without JVM startup.

The SCI context wraps a stateful Playwright session with managed
atoms for the Playwright, Browser, BrowserContext, and Page instances.

 Namespaces available in --eval mode:
   spel/     - Simplified API (implicit page/context from atoms)
  snapshot/ - Accessibility snapshot capture
  annotate/ - Screenshot annotation
  input/    - Keyboard, Mouse, Touchscreen (raw pass-throughs)
  frame/    - Frame and FrameLocator operations (raw pass-throughs)
  net/      - Network request/response/route (raw pass-throughs)
  loc/      - Locator operations (raw pass-throughs, explicit Locator arg)
  assert/   - Assertion functions (raw pass-throughs, explicit assertion obj)
  core/     - Lifecycle stubs + utility pass-throughs

Usage:
  (def ctx (create-sci-ctx))
   (eval-string ctx "(spel/start!)")
   (eval-string ctx "(spel/navigate \"https://example.org\")")
   (eval-string ctx "(spel/capture-snapshot)")
   (eval-string ctx "(spel/stop!)")
raw docstring

!browserclj


!contextclj


!daemon-mode?clj


!default-timeoutclj


!pageclj


!pwclj


!throw-on-errorclj


create-sci-ctxclj

(create-sci-ctx)

Creates a SCI context with all spel functions registered.

The context includes:

  • pw namespace: All REPL functions (start!, stop!, goto, click, etc.)
  • snapshot namespace: Snapshot capture and ref resolution
  • annotate namespace: Screenshot annotation
  • input namespace: Keyboard, Mouse, Touchscreen operations
  • frame namespace: Frame and FrameLocator operations
  • net namespace: Network request/response/route operations
  • loc namespace: Raw locator operations (explicit Locator arg)
  • assert namespace: Raw assertion operations (explicit assertion obj)
  • core namespace: Lifecycle stubs + utility pass-throughs

All Playwright Java classes are registered for interop.

Returns: SCI context ready for evaluation.

Creates a SCI context with all spel functions registered.

The context includes:
- `pw` namespace: All REPL functions (start!, stop!, goto, click, etc.)
- `snapshot` namespace: Snapshot capture and ref resolution
- `annotate` namespace: Screenshot annotation
- `input` namespace: Keyboard, Mouse, Touchscreen operations
- `frame` namespace: Frame and FrameLocator operations
- `net` namespace: Network request/response/route operations
- `loc` namespace: Raw locator operations (explicit Locator arg)
- `assert` namespace: Raw assertion operations (explicit assertion obj)
- `core` namespace: Lifecycle stubs + utility pass-throughs

All Playwright Java classes are registered for interop.

Returns:
SCI context ready for evaluation.
raw docstring

eval-stringclj

(eval-string ctx code)

Evaluates a Clojure string in the SCI context.

Binds SCI's out/err/in to the JVM equivalents so that println, prn, etc. work correctly in --eval mode.

Params: ctx - SCI context from create-sci-ctx. code - String. Clojure code to evaluate.

Returns: Result of evaluation.

Evaluates a Clojure string in the SCI context.

Binds SCI's *out*/*err*/*in* to the JVM equivalents so that
`println`, `prn`, etc. work correctly in --eval mode.

Params:
`ctx`  - SCI context from create-sci-ctx.
`code` - String. Clojure code to evaluate.

Returns:
Result of evaluation.
raw docstring

sci-$clj

(sci-$ sel-or-loc)

sci-$$clj

(sci-$$ sel)

sci-$alt-textclj

(sci-$alt-text text)

sci-$labelclj

(sci-$label text)

sci-$placeholderclj

(sci-$placeholder text)

sci-$refclj

(sci-$ref ref-id)

Locates an element by its snapshot ref ID (e.g. "@e2yrjz", "@e9mter").

Locates an element by its snapshot ref ID (e.g. "@e2yrjz", "@e9mter").
raw docstring

sci-$roleclj

(sci-$role role)
(sci-$role role opts)

sci-$test-idclj

(sci-$test-id id)

sci-$textclj

(sci-$text text)

sci-$title-attrclj

(sci-$title-attr text)

sci-add-script-tagclj

(sci-add-script-tag opts)

sci-add-style-tagclj

(sci-add-style-tag opts)

sci-all-inner-textsclj

(sci-all-inner-texts sel)

sci-all-text-contentsclj

(sci-all-text-contents sel)

sci-annotateclj

(sci-annotate refs)
(sci-annotate refs opts)

Injects annotation overlays into the current page for visible elements. Takes refs from snapshot and optional display opts.

Injects annotation overlays into the current page for visible elements.
Takes refs from snapshot and optional display opts.
raw docstring

sci-annotated-screenshotclj

(sci-annotated-screenshot refs)
(sci-annotated-screenshot refs opts)

sci-assert-accessible-descriptionclj

(sci-assert-accessible-description sel desc)

sci-assert-accessible-error-messageclj

(sci-assert-accessible-error-message sel msg)

sci-assert-accessible-nameclj

(sci-assert-accessible-name sel name-val)

sci-assert-attachedclj

(sci-assert-attached sel)
(sci-assert-attached sel opts)

sci-assert-attrclj

(sci-assert-attr sel attr-name value)
(sci-assert-attr sel attr-name value opts)

sci-assert-checkedclj

(sci-assert-checked sel)
(sci-assert-checked sel opts)

sci-assert-classclj

(sci-assert-class sel class-val)
(sci-assert-class sel class-val opts)

sci-assert-contains-classclj

(sci-assert-contains-class sel class-val)
(sci-assert-contains-class sel class-val opts)

sci-assert-contains-textclj

(sci-assert-contains-text sel expected)
(sci-assert-contains-text sel expected opts)

sci-assert-countclj

(sci-assert-count sel n)
(sci-assert-count sel n opts)

sci-assert-cssclj

(sci-assert-css sel css-name value)
(sci-assert-css sel css-name value opts)

sci-assert-disabledclj

(sci-assert-disabled sel)
(sci-assert-disabled sel opts)

sci-assert-editableclj

(sci-assert-editable sel)
(sci-assert-editable sel opts)

sci-assert-emptyclj

(sci-assert-empty sel)

sci-assert-enabledclj

(sci-assert-enabled sel)
(sci-assert-enabled sel opts)

sci-assert-focusedclj

(sci-assert-focused sel)
(sci-assert-focused sel opts)

sci-assert-hiddenclj

(sci-assert-hidden sel)
(sci-assert-hidden sel opts)

sci-assert-idclj

(sci-assert-id sel id)
(sci-assert-id sel id opts)

sci-assert-in-viewportclj

(sci-assert-in-viewport sel)
(sci-assert-in-viewport sel opts)

sci-assert-js-propertyclj

(sci-assert-js-property sel prop-name value)

sci-assert-matches-aria-snapshotclj

(sci-assert-matches-aria-snapshot sel snapshot-str)

sci-assert-notclj

(sci-assert-not sel)

sci-assert-page-notclj

(sci-assert-page-not)

sci-assert-roleclj

(sci-assert-role sel role)

sci-assert-textclj

(sci-assert-text sel expected)
(sci-assert-text sel expected opts)

sci-assert-thatclj

(sci-assert-that target)

sci-assert-titleclj

(sci-assert-title expected)
(sci-assert-title expected opts)

sci-assert-urlclj

(sci-assert-url expected)
(sci-assert-url expected opts)

sci-assert-valueclj

(sci-assert-value sel value)
(sci-assert-value sel value opts)

sci-assert-valuesclj

(sci-assert-values sel values)
(sci-assert-values sel values opts)

sci-assert-visibleclj

(sci-assert-visible sel)
(sci-assert-visible sel opts)

sci-attrclj

(sci-attr sel name)

sci-audit-screenshotclj

(sci-audit-screenshot caption)
(sci-audit-screenshot caption opts)

Takes a screenshot with a caption bar at the bottom.

Takes a screenshot with a caption bar at the bottom.
raw docstring

sci-backclj

(sci-back)

sci-bboxclj

(sci-bbox sel)

sci-blurclj

(sci-blur sel)

sci-bring-to-frontclj

(sci-bring-to-front)

sci-browserclj

(sci-browser)

Returns the current Browser instance.

Returns the current Browser instance.
raw docstring

sci-browser-connected?clj

(sci-browser-connected?)

sci-browser-versionclj

(sci-browser-version)

sci-checkclj

(sci-check sel)
(sci-check sel opts)

sci-checked?clj

(sci-checked? sel)

sci-clearclj

(sci-clear sel)

sci-clear-refs!clj

(sci-clear-refs!)

sci-clickclj

(sci-click sel)
(sci-click sel opts)

sci-contextclj

(sci-context)

Returns the current BrowserContext instance.

Returns the current BrowserContext instance.
raw docstring

sci-context-clear-cookies!clj

(sci-context-clear-cookies!)

sci-context-clear-permissions!clj

(sci-context-clear-permissions!)

sci-context-cookiesclj

(sci-context-cookies)

sci-context-grant-permissions!clj

(sci-context-grant-permissions! perms)

sci-context-route-from-har!clj

(sci-context-route-from-har! har)
(sci-context-route-from-har! har opts)

sci-context-route-web-socket!clj

(sci-context-route-web-socket! pattern handler)

sci-context-save-storage-state!clj

(sci-context-save-storage-state! path)

sci-context-set-extra-http-headers!clj

(sci-context-set-extra-http-headers! headers)

sci-context-set-offline!clj

(sci-context-set-offline! offline)

sci-context-storage-stateclj

(sci-context-storage-state)

sci-count-ofclj

(sci-count-of sel)

sci-dblclickclj

(sci-dblclick sel)
(sci-dblclick sel opts)

sci-disabled?clj

(sci-disabled? sel)

sci-dispatch-eventclj

(sci-dispatch-event sel type)

sci-drag-toclj

(sci-drag-to sel target-sel)

sci-editable?clj

(sci-editable? sel)

sci-emulate-media!clj

(sci-emulate-media! opts)

sci-enabled?clj

(sci-enabled? sel)

sci-eval-jsclj

(sci-eval-js expr)
(sci-eval-js expr arg)

sci-evaluate-all-locsclj

(sci-evaluate-all-locs sel expr)
(sci-evaluate-all-locs sel expr arg)

sci-evaluate-handleclj

(sci-evaluate-handle expr)
(sci-evaluate-handle expr arg)

sci-evaluate-locatorclj

(sci-evaluate-locator sel expr)
(sci-evaluate-locator sel expr arg)

sci-expose-binding!clj

(sci-expose-binding! binding-name f)

sci-expose-function!clj

(sci-expose-function! fn-name f)

sci-extract-image-resultsclj

(sci-extract-image-results)

sci-extract-news-resultsclj

(sci-extract-news-results)

sci-extract-people-also-askclj

(sci-extract-people-also-ask)

(sci-extract-related-searches)

sci-extract-result-statsclj

(sci-extract-result-stats)

sci-extract-web-resultsclj

(sci-extract-web-results)

sci-fillclj

(sci-fill sel value)
(sci-fill sel value opts)

sci-finish-video-recordingclj

(sci-finish-video-recording)
(sci-finish-video-recording opts)

Stops video recording by closing the context to finalize the video. Returns the video file path. Creates a new context/page without video.

Opts: :save-as - String. Copy video to this path after finalization.

Stops video recording by closing the context to finalize the video.
Returns the video file path. Creates a new context/page without video.

Opts:
:save-as - String. Copy video to this path after finalization.
raw docstring

sci-firstclj

(sci-first sel)

sci-focusclj

(sci-focus sel)

sci-forwardclj

(sci-forward)

sci-frame-by-nameclj

(sci-frame-by-name name)

sci-frame-by-urlclj

(sci-frame-by-url pattern)

sci-framesclj

(sci-frames)

sci-full-snapshotclj

(sci-full-snapshot)
(sci-full-snapshot page)

sci-gotoclj

(sci-goto url)
(sci-goto url opts)

Navigates the current page to a URL. Validates the URL before navigation — throws on invalid URLs.

Navigates the current page to a URL.
Validates the URL before navigation — throws on invalid URLs.
raw docstring

sci-has-next-page?clj

(sci-has-next-page?)

sci-helpclj

(sci-help)
(sci-help query)

Lists all available SCI eval functions with arglists and descriptions. Call with no args to see all namespaces summary. Call with a namespace name to see all functions in that namespace. Call with a search string to find matching functions.

Lists all available SCI eval functions with arglists and descriptions.
Call with no args to see all namespaces summary.
Call with a namespace name to see all functions in that namespace.
Call with a search string to find matching functions.
raw docstring

sci-hidden?clj

(sci-hidden? sel)

sci-highlightclj

(sci-highlight sel)

sci-hoverclj

(sci-hover sel)
(sci-hover sel opts)

sci-htmlclj

(sci-html)

sci-infoclj

(sci-info)

Returns a map with current page :url, :title, :viewport, and :closed? state.

Returns a map with current page :url, :title, :viewport, and :closed? state.
raw docstring

sci-inner-htmlclj

(sci-inner-html sel)

sci-inner-textclj

(sci-inner-text sel)

sci-keyboardclj

(sci-keyboard)

sci-lastclj

(sci-last sel)

sci-last-responseclj

(sci-last-response url)

Navigates to URL and returns response info map with :status, :ok?, :url, :headers.

Navigates to URL and returns response info map with :status, :ok?, :url, :headers.
raw docstring

sci-launch-chromiumclj

(sci-launch-chromium _pw & _opts)

In daemon mode, returns the daemon's existing browser instance.

In daemon mode, returns the daemon's existing browser instance.
raw docstring

sci-launch-firefoxclj

(sci-launch-firefox _pw & _opts)

In daemon mode, returns the daemon's existing browser instance.

In daemon mode, returns the daemon's existing browser instance.
raw docstring

sci-launch-webkitclj

(sci-launch-webkit _pw & _opts)

In daemon mode, returns the daemon's existing browser instance.

In daemon mode, returns the daemon's existing browser instance.
raw docstring

sci-loc-filterclj

(sci-loc-filter sel opts)

sci-loc-get-by-labelclj

(sci-loc-get-by-label sel text)

sci-loc-get-by-roleclj

(sci-loc-get-by-role sel role)

sci-loc-get-by-test-idclj

(sci-loc-get-by-test-id sel id)

sci-loc-get-by-textclj

(sci-loc-get-by-text sel text)

sci-loc-locatorclj

(sci-loc-locator sel sub-sel)

sci-loc-wait-forclj

(sci-loc-wait-for sel)
(sci-loc-wait-for sel opts)

sci-locator-screenshotclj

(sci-locator-screenshot sel)
(sci-locator-screenshot sel opts)

sci-main-frameclj

(sci-main-frame)

sci-markclj

(sci-mark & refs)

Highlights specific snapshot refs with prominent pre-action markers (e.g. "@e2yrjz").

Highlights specific snapshot refs with prominent pre-action markers (e.g. "@e2yrjz").
raw docstring

sci-mouseclj

(sci-mouse)

sci-new-contextclj

(sci-new-context _browser & _opts)

In daemon mode, returns the daemon's existing browser context.

In daemon mode, returns the daemon's existing browser context.
raw docstring

sci-new-pageclj

(sci-new-page _browser)

In daemon mode, returns the daemon's existing page.

In daemon mode, returns the daemon's existing page.
raw docstring

sci-new-page-from-contextclj

(sci-new-page-from-context _ctx)

In daemon mode, returns the daemon's existing page.

In daemon mode, returns the daemon's existing page.
raw docstring

sci-new-tab!clj

(sci-new-tab!)

Opens a new tab in the current context and switches to it.

Opens a new tab in the current context and switches to it.
raw docstring

sci-nthclj

(sci-nth sel n)

sci-on-closeclj

(sci-on-close handler)

sci-on-consoleclj

(sci-on-console handler)

sci-on-dialogclj

(sci-on-dialog handler)

sci-on-downloadclj

(sci-on-download handler)

sci-on-page-errorclj

(sci-on-page-error handler)

sci-on-popupclj

(sci-on-popup handler)

sci-on-requestclj

(sci-on-request handler)

sci-on-responseclj

(sci-on-response handler)

sci-once-dialogclj

(sci-once-dialog handler)

sci-pageclj

(sci-page)

Returns the current Page instance.

Returns the current Page instance.
raw docstring

sci-page-contextclj

(sci-page-context)

sci-pdfclj

(sci-pdf)
(sci-pdf path-or-opts)

sci-pressclj

(sci-press sel key)
(sci-press sel key opts)

sci-pw-createclj

(sci-pw-create)

No-op in daemon mode — Playwright instance is managed by the daemon.

No-op in daemon mode — Playwright instance is managed by the daemon.
raw docstring

sci-reload!clj

(sci-reload!)

sci-report->htmlclj

(sci-report->html entries)
(sci-report->html entries opts)

Builds a rich HTML report from typed entries. No page needed.

Builds a rich HTML report from typed entries. No page needed.
raw docstring

sci-report->pdfclj

(sci-report->pdf entries)
(sci-report->pdf entries opts)

Renders a rich HTML report to PDF via Playwright's page.pdf().

Renders a rich HTML report to PDF via Playwright's page.pdf().
raw docstring

sci-resolve-refclj

(sci-resolve-ref ref-id)

Resolves a snapshot ref (e.g. "@e2yrjz") to a Playwright Locator.

Resolves a snapshot ref (e.g. "@e2yrjz") to a Playwright Locator.
raw docstring

sci-restart!clj

(sci-restart!)
(sci-restart! opts)

Stops the current session and starts a new one with the given options.

Stops the current session and starts a new one with the given options.
raw docstring

sci-route!clj

(sci-route! pattern handler)

sci-route-from-har!clj

(sci-route-from-har! har)
(sci-route-from-har! har opts)

sci-route-web-socket!clj

(sci-route-web-socket! pattern handler)

sci-save-annotated-screenshot!clj

(sci-save-annotated-screenshot! refs path)
(sci-save-annotated-screenshot! refs path opts)

sci-save-audit-screenshot!clj

(sci-save-audit-screenshot! caption path)
(sci-save-audit-screenshot! caption path opts)

Takes an audit screenshot and saves it to a file.

Takes an audit screenshot and saves it to a file.
raw docstring

sci-screenshotclj

(sci-screenshot)
(sci-screenshot path-or-opts)

sci-scrollclj

(sci-scroll)
(sci-scroll direction)
(sci-scroll direction opts)

Scrolls the page or a specific element. direction - :up :down :left :right (default :down) opts map keys: :amount - pixels to scroll (default 500) :smooth? - true for smooth animated scroll (default false) :selector - element ref or CSS selector to scroll within

Scrolls the page or a specific element.
direction - :up :down :left :right (default :down)
opts map keys:
  :amount   - pixels to scroll (default 500)
  :smooth?  - true for smooth animated scroll (default false)
  :selector - element ref or CSS selector to scroll within
raw docstring

sci-scroll-into-viewclj

(sci-scroll-into-view sel)

sci-search!clj

(sci-search! query)
(sci-search! query opts)

sci-search-and-collect!clj

(sci-search-and-collect! query)
(sci-search-and-collect! query opts)

sci-search-go-to-page!clj

(sci-search-go-to-page! query page-num)
(sci-search-go-to-page! query page-num opts)

sci-search-next-page!clj

(sci-search-next-page!)

sci-search-pagesclj

(sci-search-pages query)
(sci-search-pages query opts)

sci-search-urlclj

(sci-search-url query)
(sci-search-url query opts)

sci-selectclj

(sci-select sel values)

sci-set-assertion-timeout!clj

(sci-set-assertion-timeout! ms)

sci-set-content!clj

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

sci-set-default-navigation-timeout!clj

(sci-set-default-navigation-timeout! ms)

sci-set-extra-http-headers!clj

(sci-set-extra-http-headers! headers)

sci-set-input-files!clj

(sci-set-input-files! sel files)

sci-set-page-default-timeout!clj

(sci-set-page-default-timeout! ms)

sci-set-viewport-size!clj

(sci-set-viewport-size! width height)

sci-sleepclj

(sci-sleep ms)

sci-snapshotclj

(sci-snapshot)
(sci-snapshot page-or-opts)
(sci-snapshot page opts)

sci-sourceclj

(sci-source query)

Shows the source code of a SCI eval function. Accepts 'ns/fn' format (e.g. 'spel/click') or bare function name to search.

Shows the source code of a SCI eval function.
Accepts 'ns/fn' format (e.g. 'spel/click') or bare function name to search.
raw docstring

sci-start!clj

(sci-start!)
(sci-start! opts)

sci-start-video-recordingclj

(sci-start-video-recording)
(sci-start-video-recording opts)

Starts video recording by creating a new context with video recording enabled. Closes the current context/page and creates new ones with video.

Opts: :video-dir - String. Directory for video files (default: "videos"). :video-size - Map with :width :height (default: 1280x720).

Starts video recording by creating a new context with video recording enabled.
Closes the current context/page and creates new ones with video.

Opts:
:video-dir  - String. Directory for video files (default: "videos").
:video-size - Map with :width :height (default: 1280x720).
raw docstring

sci-stop!clj

(sci-stop!)

Stops the Playwright session, closing browser and cleaning up resources.

Stops the Playwright session, closing browser and cleaning up resources.
raw docstring

sci-switch-tab!clj

(sci-switch-tab! idx)

Switches to the tab at the given index.

Switches to the tab at the given index.
raw docstring

sci-tabsclj

(sci-tabs)

Returns a list of all open tabs with their index, url, title, and active status.

Returns a list of all open tabs with their index, url, title, and active status.
raw docstring

sci-tapclj

(sci-tap sel)

sci-textclj

(sci-text sel)

sci-thread-sleepclj

(sci-thread-sleep ms)

Plain JVM thread sleep (ms). Does NOT interact with browser event loop. Prefer page waits (wait-for-selector, wait-for-url, etc.) for browser sync. Use only for non-browser delays (file I/O timing, external process waits).

Plain JVM thread sleep (ms). Does NOT interact with browser event loop.
Prefer page waits (wait-for-selector, wait-for-url, etc.) for browser sync.
Use only for non-browser delays (file I/O timing, external process waits).
raw docstring

sci-titleclj

(sci-title)

sci-touchscreenclj

(sci-touchscreen)

sci-trace-groupclj

(sci-trace-group name)

Opens a named group in the trace. Groups nest actions visually in Trace Viewer.

Opens a named group in the trace. Groups nest actions visually in Trace Viewer.
raw docstring

sci-trace-group-endclj

(sci-trace-group-end)

Closes the current trace group.

Closes the current trace group.
raw docstring

sci-trace-start!clj

(sci-trace-start!)
(sci-trace-start! opts)

Starts Playwright tracing on the current context.

Opts: :name - String. Trace name (appears in Trace Viewer). :screenshots - Boolean. Capture screenshots (default: false). :snapshots - Boolean. Capture DOM snapshots (default: false). :sources - Boolean. Include source files (default: false).

Starts Playwright tracing on the current context.

Opts:
:name        - String. Trace name (appears in Trace Viewer).
:screenshots - Boolean. Capture screenshots (default: false).
:snapshots   - Boolean. Capture DOM snapshots (default: false).
:sources     - Boolean. Include source files (default: false).
raw docstring

sci-trace-stop!clj

(sci-trace-stop!)
(sci-trace-stop! opts)

Stops Playwright tracing and saves to a file.

Opts: :path - String. Output path (default: "trace.zip").

Stops Playwright tracing and saves to a file.

Opts:
:path - String. Output path (default: "trace.zip").
raw docstring

sci-type-textclj

(sci-type-text sel text)
(sci-type-text sel text opts)

sci-unannotateclj

(sci-unannotate)

Removes all annotation overlays from the current page.

Removes all annotation overlays from the current page.
raw docstring

sci-uncheckclj

(sci-uncheck sel)
(sci-uncheck sel opts)

sci-unmarkclj

(sci-unmark)

Removes all pre-action markers from the current page.

Removes all pre-action markers from the current page.
raw docstring

sci-unroute!clj

(sci-unroute! pattern)

sci-urlclj

(sci-url)

sci-valueclj

(sci-value sel)

sci-video-pathclj

(sci-video-path)

Returns the video file path for the current page, or nil if not recording.

Returns the video file path for the current page, or nil if not recording.
raw docstring

sci-viewport-sizeclj

(sci-viewport-size)

Returns the current viewport size of the active page as {:width N :height N}.

Returns the current viewport size of the active page as {:width N :height N}.
raw docstring

sci-visible?clj

(sci-visible? sel)

sci-wait-forclj

(sci-wait-for sel)
(sci-wait-for sel opts)

sci-wait-for-downloadclj

(sci-wait-for-download action)
(sci-wait-for-download action opts)

sci-wait-for-file-chooserclj

(sci-wait-for-file-chooser action)
(sci-wait-for-file-chooser action opts)

sci-wait-for-functionclj

(sci-wait-for-function expr)

sci-wait-for-loadclj

(sci-wait-for-load)
(sci-wait-for-load state)

sci-wait-for-popupclj

(sci-wait-for-popup action)
(sci-wait-for-popup action opts)

sci-wait-for-urlclj

(sci-wait-for-url url)

set-default-timeout!clj

(set-default-timeout! ms)

Sets the default Playwright action timeout (ms) for new pages. Called from --eval mode when --timeout flag is provided.

Sets the default Playwright action timeout (ms) for new pages.
Called from --eval mode when --timeout flag is provided.
raw docstring

set-throw-on-error!clj

(set-throw-on-error! v)

When true, Playwright operations throw on error instead of returning anomaly maps. Called from --eval mode so errors short-circuit (do ...) forms.

When true, Playwright operations throw on error instead of returning anomaly maps.
Called from --eval mode so errors short-circuit (do ...) forms.
raw 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