Monthly Archive: February 2021
driver.close() driver.close() is a webdriver command which closes the browser window which is currently in focus. During the automation process, if there are more than one browser window opened, then the close() command will...
By using JavascriptExecutor we can enter text without using sendKeys()
SearchContext interface : findElement() findElements() WebDriver interface : close() get() getTitle() getPageSource() getCurrentUrl() getWindowHandle() getWindowHandles() manage() navigate() quit() switchTo() TakesScreenshot interface : getScreenshotAs(args) JavascriptExecutor interface : executeScript() executeAsyncScript() – we dont use this for...