Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This tutorial walks through a realistic Vibium session: open a search engine,
type a query, submit the form, and capture the result. It exercises navigation,
mapping, semantic finding, form filling, waiting, and screenshots.

We'll use [https://duckduckgo.com](https://duckduckgo.com) as the target. Any
We'll use [https://duckduckgo.com](https://duckduckgo.com) as the target. Any@
search engine will work; just adjust the labels.

If you have Vibium installed globally, the examples run as written. If you'd
Expand Down Expand Up @@ -62,6 +62,17 @@ that reacts to Enter.
The `@eN` reference comes from the most recent `find` or `map` output. If the
page navigates or re-renders, run `find` or `map` again before reusing it.


> **Windows PowerShell**
>
> PowerShell treats `@` as special syntax. When using an element reference,
> wrap it in quotes:
>
> ```powershell
> vibium fill "@e1" "vibium browser automation"
> vibium click "@e1"
> ```

## 4. Wait for the results

The page transitions are asynchronous, so wait for something result-shaped to
Expand Down