Based on the above statements, the Firefox browser will be launched and it will navigate to Edureka website.
Once you click on Run, every statement in your script will be converted as a URL with the help of JSON Wire Protocol over HTTP. The URL’s will be passed to the Browser Drivers. (In the above code, we took FirefoxDriver). Here in our case the client library (Java) will convert the statements of the script to JSON format and communicates with the FirefoxDriver. URL looks as shown below.
Every Browser Driver uses an HTTP server to receive HTTP requests. Once the URL reaches the Browser Driver, then the Browser Driver will pass that request to the real browser over HTTP. Then the commands in your Selenium script will be executed on the browser.