Skip to content

docs(recording): document Record Keyword and Record Keywords - #24

Merged
Snooz82 merged 12 commits into
mainfrom
docs/recording-keywords
Nov 1, 2026
Merged

Snooz82 merged 12 commits into
mainfrom
docs/recording-keywords

Conversation

@Snooz82

@Snooz82 Snooz82 commented Oct 29, 2026

Copy link
Copy Markdown
Member

A new chapter "Recording keywords" with six pages: getting started, the toolbar, keyword arguments, what gets recorded, where keywords are written, and good practice and limits. Short looping videos and toolbar screenshots show the recorder at work; the Robot scripts that record them live in scripts/videos.

  • DocVideo: a muted video that plays while visible, optionally without controls for loops.
  • The chapter is listed in the docs rail and the header Docs menu.

Copilot AI balanced review requested due to automatic review settings October 29, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Control-free looping videos lack an accessible pause mechanism, and several documentation examples use nonmatching selectors or link names that cause timeouts.

4 open issues
What changed in this PR

Adds a six-page “Recording keywords” chapter explaining how to use Record Keyword and Record Keywords, supported by video demonstrations and toolbar screenshots.

Changes:

  • Documents recording workflows, arguments, supported actions, output files, and practical limits.
  • Adds DocVideo, media-gallery examples, and scripts for reproducing documentation media.
  • Adds the chapter to both documentation menus and updates the section-order test.
File Description
test/​docs-order.spec.ts Adds recording to the expected section order.
scripts/​videos/​video.resource Provides shared recording and interaction helpers.
scripts/​videos/​video-helpers.cjs Draws the pointer and exposes toolbar access for scripts.
scripts/​videos/​render.sh Converts recordings into MP4s and poster images.
scripts/​videos/​README.md Explains how to regenerate documentation media.
scripts/​videos/​pages/​create-account.html Supplies the account-form demonstration page.
scripts/​videos/​09-screenshots.robot Captures toolbar and argument-dialog screenshots.
scripts/​videos/​08-loop-pause.robot Records the pause/resume demonstration.
scripts/​videos/​06-loop-login.robot Records the login demonstration.
scripts/​videos/​05-assertions.robot Records assertion-tool usage.
scripts/​videos/​04-argument-from-a-selector.robot Demonstrates parameterizing a selector.
scripts/​videos/​03-loop-create-account.robot Demonstrates arguments and repeated-value replacement.
scripts/​videos/​02-session.robot Demonstrates a multi-keyword recording session.
scripts/​videos/​01-quick-start.robot Records the introductory walkthrough.
scripts/​videos/​.gitignore Excludes raw recording output.
content/​gallery/​media.md Shows video and figure component usage.
content/​docs/​recording/​what-gets-recorded.md Explains recorded actions, assertions, and selectors.
content/​docs/​recording/​toolbar.md Documents toolbar controls and session behavior.
content/​docs/​recording/​record-keywords.md Introduces recording with a quick-start guide.
content/​docs/​recording/​practice.md Covers review habits, secrets, limits, and troubleshooting.
content/​docs/​recording/​files.md Explains output destinations and file updates.
content/​docs/​recording/​arguments.md Explains converting recorded values into arguments.
app/​pages/​docs/​[...slug].vue Adds the recording section to the documentation rail.
app/​components/​SiteHeader.vue Links the chapter from the Docs menu.
app/​components/​content/​DocVideo.vue Adds visibility-triggered video playback and reduced-motion handling.

Review effort: Balanced

Comment thread app/components/content/DocVideo.vue Resolved
Comment thread content/docs/recording/arguments.md Resolved
Comment thread content/docs/recording/arguments.md Resolved
Comment thread content/docs/recording/practice.md Resolved
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Preview

https://rfbrowser-pr-24.surge.sh

Commit 696067c
Landing https://rfbrowser-pr-24.surge.sh/
Keywords https://rfbrowser-pr-24.surge.sh/keywords
Releases https://rfbrowser-pr-24.surge.sh/releases

Rebuilt on every push to this branch, and taken down when it closes.

A new chapter "Recording keywords" with six pages: getting started, the
toolbar, keyword arguments, what gets recorded, where keywords are
written, and good practice and limits. Short looping videos and toolbar
screenshots show the recorder at work; the Robot scripts that record them
live in scripts/videos.

- DocVideo: a muted video that plays while visible, optionally without
  controls for loops.
- The chapter is listed in the docs rail and the header Docs menu.
A new page in the Recording keywords chapter: picking with a click, the
Playwright and CSS generators, editing with the live match count, and how
the keyword ends. With a loop video and a screenshot of the toolbar.
label= finds an element by its label, as Playwright's getByLabel, with
the same value forms as text=. A leading >>> searches every frame. Both
come with the Browser library branch feature/any-frame-selector.
pnpm 12.16, nuxt 4.6, @nuxt/content 3.16, vue-router 5.4, vitest 5 and
playwright-core 1.64, with Node pinned in .nvmrc. The reachable client
JS ceiling goes to 420 KB: per page the update is lighter.
On a client-side navigation unhead calls the head function during setup,
and reading rendered above its declaration threw.
…dings

Picking a selector while recording: the Pick button, Playwright's Pick
locator opening the same panel, the comment row it writes, and what the
minimized toolbar offers meanwhile. Record Selector's highlight switch.
All videos and toolbar screenshots recorded again with the current
toolbar.
…a toolbar

- What gets recorded: the recorder switches to the tab an action happens in,
  with the id the previous Switch Page returned, and closes a tab that is
  not the active one by its id. A tab without an id gets no switch.
- Toolbar: Record Keyword has Save, which ends the session; Pick works in
  the tab it is pressed in; nothing done in the toolbar is recorded.
- Limits: tabs without an id, and the pages that show no toolbar.
- The argument example opens "Finding elements", the chapter's link text.
@Snooz82
Snooz82 force-pushed the docs/recording-keywords branch from 4343a14 to c3bde31 Compare November 1, 2026 19:05
@Snooz82
Snooz82 merged commit 87a6ad4 into main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants