Press one named key (Enter, Tab, Escape, arrows, Backspace, Delete, Space).

Presses one named key on the real page, where focus is now; Enter may submit a form. A JS dialog the key opens is answered (dismissed by default).

post/v1/profiles/{id}/press-key

Request

  • Base URL: http://127.0.0.1:10108
  • URL: http://127.0.0.1:10108/v1/profiles/{id}/press-key
  • Auth: HTTP bearer

Path parameters

idstring required

Profile id (uuid), as listed by GET /v1/profiles.

Request body

dialog'dismiss' | 'accept'
key'Enter' | 'Tab' | 'Escape' | 'ArrowDown' | 'ArrowUp' | 'ArrowLeft' | 'ArrowRight' | 'Backspace' | 'Delete' | 'Space' required
prompt_textstring

Response

Pressed. Any JS dialog the key opened is named in the sentence.

resultstring required

Changes

No recorded changes to this operation across all 1 revision of this API.