Current location - Recipe Complete Network - Complete cookbook of home-style dishes - The difference between selenium and webdriver
The difference between selenium and webdriver
Selenium could not handle the following events:

1) native keyboard and mouse events

2) homologous strategy XSS/HTTP(S)

3) Pop-up box and dialog box (basic authentication, self-signed certificate and file upload/download)

1, WebDriver project can be used directly without other configuration after construction, which is completely different from Selenium. Because Selenium still needs to install and start Selenium Server to run the test program.

2.Selenium provides a dictionary-based API, so users can easily see all the supported methods. Undoubtedly, the API provided by WebDriver is more concise and user-friendly.

3.Selenium is implemented with a bunch of JavaScript, so as long as JavaScript is supported, Selenium can support more browsers than WebDriver without additional development.

All of the above are the differences between selenium and webdriver.