Skip to main content
Press keys on a webpage
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Send key presses to an active browser session.

Application

  • Web Process Automation

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Browser session ID

The unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk Action

Text (Short)

Yes

fb9bc380-146c-420e-9130-50ce93614e05

Keys to press

Key presses to send to the browser session. Press enter after each item is added

List of Text(Long)

No

SHIFT+A

W R K Enter

See list of key presses in the section below.

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Unsuccessful screenshot

If unsuccessful, a screenshot of the website

File

Yes

Unsuccessful message

If unsuccessful, a message stating what went wrong

Text (Long)

Yes

Outcomes

Name

Description

Success

This status is selected in the event that the element was successfully filled in

Unsuccessful

This status is selected in the event of the following scenario:

  • Unable to complete the key press requested

Impossible to complete

This status is selected in the event of the following scenario:

  • Unable to connect to the session for some reason

Common Key Presses

  • A - Z

  • 0 - 9

  • Space

  • Enter

  • Tab

  • Shift

  • Control

  • Alt

  • Backspace

  • Escape

  • Delete

  • Control+C (Copy)

  • Control+V (Paste)

Use + to combine presses. e.g Control + Tab

Complete list of Key Presses

0

1

2

3

4

5

6

7

8

9

Backspace

Tab

Enter

\r

\n

ShiftLeft

ShiftRight

ControlLeft

ControlRight

AltLeft

AltRight

Pause

CapsLock

Escape

Convert

NonConvert

Space

PageUp

PageDown

End

Numpad0

Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadDecimal
NumpadEnter
NumpadEqual
NumpadMultiply

NumpadAdd

NumpadSubtract

NumpadDivide

Home

ArrowLeft

ArrowRight
ArrowUp

ArrowDown

Select

Open

PrintScreen

Insert

Delete

Digit0

Digit1

Digit2

Digit3

Digit4

Digit5

Digit6

Digit7

Digit8

Digit9

KeyA

KeyB

KeyC

KeyD

KeyE

KeyF

KeyG

KeyH

KeyI

KeyJ

KeyK

KeyL

KeyM

KeyN

KeyO

KeyP

KeyQ

KeyR

KeyS

KeyT

KeyU

KeyV

KeyW

KeyX

KeyY

KeyZ

MetaLeft

MetaRight

ContextMenu

F1

F2

F3

F4

F5

F6

F7

F8

F9

F10

F11

F12

F13

F14

F15

F16

F17

F18

F19

F20

F21

F22

F23

F24

NumLock

ScrollLock

AudioVolumeMute

AudioVolumeDown

AudioVolumeUp

MediaTrackNext

MediaTrackPrevious

MediaStop

MediaPlayPause

Semicolon

Equal

Comma

Minus

Period

Slash

Backquote

BracketLeft

Backslash

BracketRight

Quote

AltGraph

Props

Cancel

Clear

Shift

Control

Alt

Accept

ModeChange

(The space key)

Print

Execute

\x00

a

b

c

d

e

f

g

h

i

j

k

l

m

n

o

p

q

r

s

t

u

v

w

x

y

z

Meta

*

+

-

/

;

=

,

.

`

[

]

'

Attn

CrSel

ExSel

EraseEof

Play

ZoomOut

)

!

@

#

$

%

^

&

(

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

:

<

_

>

?

~

{

|

}

\

SoftLeft

SoftRight

Camera

Call

EndCall

VolumeDown

VolumeUp

Did this answer your question?