JavaScript
Browser Computer Controls
Press one or more keys on the host computer
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://tbd-6fc993ce-hypeship-docs-chrome-policy-on-demand.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Browser session ID
Body
application/json
List of key symbols to press. Each item should be a key symbol supported by xdotool (see X11 keysym definitions). Examples include "Return", "Shift", "Ctrl", "Alt", "F5". Items in this list could also be combinations, e.g. "Ctrl+t" or "Ctrl+Shift+Tab".
Duration to hold the keys down in milliseconds. If omitted or 0, keys are tapped.
Required range:
x >= 0Optional modifier keys to hold during the key press sequence.
Response
Keys pressed successfully
Type text on the browser instance
Previous
Scroll the mouse wheel at a position on the host computer
Next