binding sends command to the common driver
API, other side the driver will be listening to those
commands and will execute the same in browser using remote WebDriver and
will return the response via API to the respective binding.
In the background whatever the commands are issued in the code will be interpreted
into Web service methods (JSON Wired Protocol) and the Remote Driver
will receive the HTTP request (commands) and execute them in the browser
then send the response back.
How WebDriver communicates with HTML components?
Buttons”,“Links” etc WebDriver use following inbuilt methods mentioned in the
below table. However to find the objects to interact with it uses method findElement().