Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What is a Robot Class?

Category: Selenium WebDriver

The Robot class helps in providing control over the mouse and keyboard devices. It includes:

  • KeyPress()

Invoked when you want to press any key

  • KeyRelease()

Invoked to release the pressed key on the keyboard

  • MouseMove()

Invoked to move the mouse pointer in the X and Y coordinates

  • MousePress()

Invoked to press the left button of the mouse

Leave a Reply

Your email address will not be published. Required fields are marked *