Skip to content

docs(smartui): region-ignore updates — coordinate diagram, hooks execute syntax, trim sections#3172

Merged
surishubham merged 2 commits into
LambdaTest:stagefrom
chaitanyas-maker:docs/smartui-region-ignore-doc-updates
Jul 2, 2026
Merged

docs(smartui): region-ignore updates — coordinate diagram, hooks execute syntax, trim sections#3172
surishubham merged 2 commits into
LambdaTest:stagefrom
chaitanyas-maker:docs/smartui-region-ignore-doc-updates

Conversation

@chaitanyas-maker

Copy link
Copy Markdown
Contributor

Follow-up doc updates to Ignore and Select Regions on SmartUI Web Hooks (smartui-hooks-region-ignore), addressing review feedback.

Changes

  • Coordinate diagram (Section 1): added an illustration showing how a "x1,y1,x2,y2" string maps to a rectangle — top-left corner (left=50, top=50), bottom-right corner (right=300, bottom=300), a 250 × 250 region — plus a one-line worked example. Placed right where the four edge values are first introduced.
  • NodeJS + Python execute syntax (Section 4 — Combine selectors and coordinates): added the executeScript('smartui.takeScreenshot', config) / execute_script("smartui.takeScreenshot", config) call to the NodeJS and Python snippets so they mirror the Java example, which already showed the executing call.
  • Removed the "Behaviour summary" section: redundant with the surrounding prose and the "Coordinate space" / "Validation" sections.
  • Dropped the "Scope" bullet from Notes.

Preview

Original: https://stage.testmuinternal.ai/support/docs/smartui-hooks-region-ignore/

🤖 Generated with Claude Code

chaitanyas-maker and others added 2 commits July 1, 2026 23:07
…execute syntax, trim redundant sections

- Add coordinate-rectangle diagram to Section 1 illustrating how "x1,y1,x2,y2"
  maps to top-left/bottom-right corners (50,50 -> 300,300 = 250x250)
- Add the executeScript / execute_script call to the NodeJS and Python
  "Combine selectors and coordinates" examples to match the Java snippet
- Remove the "Behaviour summary" section (redundant with surrounding prose)
- Drop the "Scope" bullet from Notes

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NgQA74nPEBMhynTyo4Vrc5
@surishubham surishubham merged commit 845d4fe into LambdaTest:stage Jul 2, 2026
surishubham added a commit to surishubham/documentation that referenced this pull request Jul 2, 2026
…-region-ignore-doc-updates

docs(smartui): region-ignore updates — coordinate diagram, hooks execute syntax, trim sections
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