Small decisions. Interesting possibilities.Submit contentSubmit
PlayJev preview

PlayJev

An experimental Playwright library that asks Jev which numbered element should receive an operation and which operation to perform, while keeping the full Playwright API.

Added to Jevfast

How it uses Jev

The state is a YAML rendering of the page, the instruction and the selected target's context. A first choice question lists numbered browser nodes plus a none option, and after a target is chosen a second choice asks for click, hover, scrollIntoView, fill, type or selectOption. A minimum target confidence rejects a weak pick, and Playwright performs the chosen action.

What Jev decides

Target and operation for one instruction (illustrative)Example answers · not a recorded Jev response · Source ↗
Question 1 · target
YOUR APP
INSTRUCTION

Which specific actionable node should receive the next single browser operation?

STATE

The state is the page rendered as YAML with numbered actionable nodes, the instruction and the selected target's ancestry. The target question shows the numbered nodes; the operation question follows once a target is chosen.

JEV · CHOICE
  1. 1
  2. 2
  3. 3
  4. none
Question 2 · operation
YOUR APP
INSTRUCTION

Which single browser operation should be performed on the selected node?

STATE

The state is the page rendered as YAML with numbered actionable nodes, the instruction and the selected target's ancestry. The target question shows the numbered nodes; the operation question follows once a target is chosen.

JEV · CHOICE
  1. click
  2. hover
  3. scrollIntoView
  4. fill
  5. type
  6. selectOption

App workflow

  1. Snapshot the page

    PlayJev captures the current page as accessible nodes and keeps the full Playwright API available to the caller.

  2. Choose a target

    Numbered candidates and a none option are sent with the instruction as a choice question, and the confidence gate applies.

  3. Choose an operation

    The selected target's context is sent with a second question listing the operations the library supports for it.

  4. Act through Playwright

    PlayJev resolves the chosen node and runs the operation, returning the result for the caller to inspect.

Why it is interesting

The browser decision is expressed as an addressable node and a named operation rather than a generated selector, so every answer maps to an element the caller can inspect and a Playwright action the library already supports. Splitting target from operation also keeps each question small and lets a per-field fill ask about each form field in turn.