webdriverio-execute

wdiox — WebdriverIO Execute

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "webdriverio-execute" with this command: npx skills add winify/webdriverio-execute/winify-webdriverio-execute-webdriverio-execute

wdiox — WebdriverIO Execute

CLI tool for interactive browser and Appium automation. Sessions persist on disk; every command is stateless.

When to Use

  • Explore a live page or app without writing a test file

  • Quickly click, fill, or screenshot a running browser/app session

  • Script a multi-step browser workflow from the shell

  • Debug a UI flow by inspecting elements interactively

  • Automate a mobile app (Android/iOS via Appium) from the terminal

Quick Reference

Browser

wdiox open https://example.com wdiox snapshot # capture viewport elements → assigns e1, e2, … wdiox snapshot --no-visible # capture ALL elements (including off-screen) wdiox click e3 wdiox fill e1 "hello@example.com" wdiox screenshot /tmp/page.png wdiox close

Mobile (Appium)

wdiox open --app ./app.apk --device "emulator-5554" wdiox snapshot # mobile elements → e1, e2, … wdiox click e2 wdiox close

Multi-session

wdiox open https://site-a.com --session a wdiox open https://site-b.com --session b wdiox snapshot --session a wdiox ls # list all active sessions wdiox close --session b

Aliases

wdiox start / new # → open wdiox stop # → close wdiox type <ref> <text> # → fill

Element Refs

snapshot writes numbered refs (e1 , e2 , …) to ~/.wdio-x/sessions/<name>.refs.json . Refs resolve to the best available selector:

  • tag*=text (text match)

  • aria/label

  • [data-testid]

  • #id

  • tag[name=…]

  • tag.class

  • CSS path with :nth-of-type

For Appium, prefer [accessibility-id: …] or [resource-id: …] over raw XPath.

Common Use Cases

Explore a page interactively

wdiox open https://app.example.com/login wdiox snapshot

→ e1 input[email] "Email" #email

→ e2 input[password] "Password" #password

→ e3 button "Sign in" button*=Sign in

wdiox fill e1 "user@example.com" wdiox fill e2 "password123" wdiox click e3 wdiox snapshot # re-snapshot after navigation

Automate a mobile app

wdiox open --app ./app.apk --device "emulator-5554"
--no-accept-alert # override alert defaults wdiox snapshot wdiox click e3 # "Accept All Cookies" wdiox snapshot

Open Flags

Flag Default Notes

--browser

chrome

chrome , firefox , edge , safari

--app

— Path to .apk , .ipa , or .app

--device

emulator-5554

Device name for Appium

--grant-permissions

true

Auto-grant app permissions (Appium)

--accept-alert

true

Auto-accept native alerts (Appium)

--auto-dismiss

false

Auto-dismiss native alerts (Appium)

--session / -s

default

Name for this session

Snapshot Flags

Flag Default Notes

--visible

true

Snapshot only viewport elements; --no-visible captures all

WDIO_SESSION

default

Env var to set default session name globally

Common Mistakes

  • Running click before snapshot — refs file won't exist; always snapshot first

  • Stale refs after navigation — re-run snapshot after page changes

  • Element not in snapshot — it may be below the fold; try wdiox snapshot --no-visible

  • Mobile session shows App: unknown — close and reopen session; old sessions predate the fix that preserves appium:app in metadata

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

claw2ui

Generate interactive web pages (dashboards, charts, tables, reports) and serve them via public URL. Use this skill when the user explicitly asks for data vis...

Registry SourceRecently Updated
General

WeChat Article Summarize

Read one or more WeChat public account article links from mp.weixin.qq.com, extract cleaned full text and optional image links, summarize each article in Chi...

Registry SourceRecently Updated
General

Openfinance

Connect bank accounts to AI models using openfinance.sh

Registry SourceRecently Updated
General

---

合同审查清单AI助手 - 5类合同+3大特殊条款,风险识别与修改建议

Registry SourceRecently Updated