Liking cljdoc? Tell your friends :D
Clojure only.

com.blockether.spel.native

Native-image entry point for spel.

Provides a CLI tool (spel) for browser automation with persistent browser sessions.

Modes:

  • CLI commands (default): Send commands to the browser process
  • Eval: Evaluate a Clojure expression and exit

Usage: spel open https://example.com # Navigate (auto-starts browser) spel snapshot # ARIA snapshot with refs spel click @e1 # Click by ref spel fill @e2 "search text" # Fill input by ref spel screenshot shot.png # Take screenshot spel close # Close browser spel --eval '(+ 1 2)' # Evaluate and exit spel install # Install Playwright browsers spel --help # Show help

Native-image entry point for spel.

Provides a CLI tool (spel) for browser automation with persistent browser sessions.

Modes:
- CLI commands (default): Send commands to the browser process
- Eval: Evaluate a Clojure expression and exit

Usage:
  spel open https://example.com   # Navigate (auto-starts browser)
  spel snapshot                    # ARIA snapshot with refs
  spel click @e1                   # Click by ref
  spel fill @e2 "search text"      # Fill input by ref
  spel screenshot shot.png         # Take screenshot
  spel close                       # Close browser
  spel --eval '(+ 1 2)'            # Evaluate and exit
  spel install                     # Install Playwright browsers
  spel --help                      # Show help
raw docstring

-mainclj

(-main & args)

Main entry point for the native-image binary.

Dispatches to the appropriate mode based on the first argument:

  • '--eval' → evaluate expression and exit
  • 'install' → install Playwright browsers
  • 'version' → print version
  • '--help' → print help
  • anything else → CLI command

Global flags (--timeout, --debug, --json) are parsed first and apply across all modes. For --eval mode, --timeout sets Playwright's default action timeout. For CLI mode, flags pass through to cli.clj.

Main entry point for the native-image binary.

Dispatches to the appropriate mode based on the first argument:
- '--eval'  → evaluate expression and exit
- 'install' → install Playwright browsers
- 'version' → print version
- '--help'  → print help
- anything else → CLI command

Global flags (--timeout, --debug, --json) are parsed first and
apply across all modes. For --eval mode, --timeout sets Playwright's
default action timeout. For CLI mode, flags pass through to cli.clj.
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