I am beginner in learning selenium. My code is like this:
driver.get("http://opensource.demo.orangehrmlive.com/"); String T = driver.getTitle(); System.out.println(T);
Instead of the actual page title, it always displays "WebDriver" as output on the console. I am using Internet Explorer as a driver. I tried with different URLs but every time same result.