Program to Handle Browser Commands using selenium.

 

  • driver.get(“URL”);
  • driver.getTitle();
  • driver.getCurrentUrl();
  • driver.getPageSource();
  • driver.manage().window().maximize();