keyboard
Keyboard control object
Full keyboard input emulation
Sending keyboard messages
Emulation of indicator keys
Emulation of control keys
Working with the input language
Full keyboard emulation
input – emulates the input of all characters from the passed string function
key (formerly press_key_by_code before version 4.9.21) – emulates entering a single button by its scan code
key_down – emulates a key press
key_up – emulates pressing the key
Sending keyboard messages
send_input – sends string input to the browser, even if it is hidden
send_key – sends key input to the browser, even if it is hidden
send_key_down – sends a keystroke to the browser, even if it is hidden
send_key_up – sends a key press to the browser even if it is hidden
Emulation of indicative key presses
press_caps_lock – emulates pressing the CAPS LOCK button
press_num_lock – emulates pressing the NUM LOCK button
press_scroll_lock – emulates pressing the SCROLL LOCK button
is_caps_lock_pressed – check for pressing CAPS LOCK
is_num_lock_pressed – checks if the NUM LOCK button is pressed
is_scroll_lock_pressed – checking the SCROLL LOCK button click
Control key emulation
set_ctrl_prefix – emulates pressing or pressing CTRL
set_alt_prefix – emulates pressing or pressing ALT
set_shift_prefix – emulates pressing or pressing SHIFT
Working with the input language
get_current_language – get the current input language
set_current_language - set the current input language