Interview Questions

Selenium WebDriver - What is the difference between type keys and type commands ?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - What is the difference between type keys and type commands ?

TypeKeys() will trigger JavaScript event in most of the cases whereas .type() won’t. Type key populates the value attribute using JavaScript whereas .typekeys() emulates like actual user typing

(Continued on next question...)

Other Interview Questions