Define use of following commands: get(url), getTitle(), geturl(), getWindowHandle(), driver.getWindowHandles(),getPageSource().

get(url) – Command using get() to open a URL in the current browser.
getTitle() – getTitle() to get page title in the Selenium webdriver.
geturl() – The method current_url is available which obtains the present page URL and then we can print the result in the console.
getWindowHandle() -getWindowHandle() and getWindowHandles() to handle Multiple Windows in Selenium WebDriver.
getPageSource () – is method of WebDriver class.

Leave a Reply