Skip to content

Web capabilities ​

The driver declares only what a browser really delivers. Tests requires the rest and are skipped with a reason instead of failing.

CapabilityWeb driver
key.back, key.info, key.media.*, key.color, key.numeric, key.channelyes, while mapped in keys
key.home, key.menuonly if you map them
key.longpressyes (keydown, repeats, keyup)
text.inputyes: the focused <input>, <textarea> or contenteditable takes text through CDP Input.insertText, like an IME: input events fire, per-character keydown does not; submit presses Enter
deeplink.launchyes: loads the link's page URL (the deepLink mapper's result resolved against url) with the launch payload in an init script; an HTTP error page fails with DEEPLINK_UNHANDLED
deeplink.openno: a running page receives no links
tree.hierarchyyes (the DOM)
screenshot.elementyes (visible part of the element)
logsyes (console messages, uncaught errors, crashes)
videoyes (WebM via Playwright screencast)
sync.idle, media.state, app.stateno: granted by the toets SDK when the app runs it
platform.eventsyes: network-lost/network-restored take the browser context offline; suspend/resume emulate a backgrounded tab (visibilitychange + freeze, then resume + visibilitychange)

A key capability is declared only when every key behind it is mapped: unmapping BLUE removes key.color.

Trap: offline means offline for everything the page loads, the toets mock server and the SDK connection included. SDK reads fall back to the DOM until network-restored; toets restores the network after each test.