Program Execution
After selenium code was included the last thing pending to do is program execution in order to validate if the code is correct or not. For this example a new chrome browser will be opened then the google web page will be displayed then the browser title will be printed and finally the browser will be closed without any issue (I hope =] )
Step 29.- Select Practice1.java then right-click and select "Run As" then "Java Application"
Step 30.- Click on "OK" button and the execution will start in few seconds
Step 31.- If execution is finished without any error the below screen should be displayed under "Console" tab