Q. Which method retrieves the page title in Selenium?
Solution:
getTitle() returns the title of the current webpage as a string.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
getTitle() returns the title of the current webpage as a string.
Strengthen Your Practice with our comprehensive question bank.