When the automation script is implemented, the subsequent steps happen:
- for every Selenium action or command, an HTTP request is formed and sent to the browser driver
- the HTTP request is sent to the browser driver
- the HTTP server determine the steps required to implement the Selenium action that corresponds to the request
- the HTTP server executes such prior steps on the browser
- the HTTP server sends back the status to the automation script
The browser driver executed Selenium commands that follow all types of actions that users execute usually on web pages, few examples of using webpage can be as follows:-
- open a web page
- click buttons and links
- navigate through the browser history
- maximize the browser
- type text in textboxes
- get status of web elements
- get information of web elements (attributes, value, position)
- select values in lists and dropdown lists