We can get the title of the window by using getTitle() method:
String title = driver.getTitle(); System.out.println("Title of the page is "+title);
No comments:
Post a Comment