Skip to main content

Press keys on a webpage

Send key presses to an active browser session.

Application

  • Web Process Automation

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Browser session IDThe unique identifier of the browser instance. Can be retrieved from "Open a browser session" Wrk ActionText (Short)Yesfb9bc380-146c-420e-9130-50ce93614e05
Keys to pressKey presses to send to the browser session. Press enter after each item is addedList of Text(Long)NoSHIFT+A``W R K EnterSee 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)

NameDescriptionData TypeRequired?Example
Unsuccessful screenshotIf unsuccessful, a screenshot of the websiteFileYes
Unsuccessful messageIf unsuccessful, a message stating what went wrongText (Long)Yes

Outcomes

NameDescription
SuccessThis status is selected in the event that the element was successfully filled in
UnsuccessfulThis status is selected in the event of the following scenario:Unable to complete the key press requested
Impossible to completeThis 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) (Make sure to use lowercase c)
  • Control+v (Paste) (Make sure to use lowercase v)

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