Google News
logo
Selenium - Interview Questions
What is a Robot class?
This Robot class provides control over the mouse and keyboard devices.
 
The methods include :
 
KeyPress() : This method is called when you want to press any key.

KeyRelease() : This method is used to release the pressed key on the keyboard.

MouseMove() : This method is called when you want to move the mouse pointer in the X and Y co-ordinates.

MousePress() : This is used to press the left button of the mouse.

MouseMove() : This method helps in releasing the pressed button of the mouse.
Advertisement