Answers
1) 2) By using relative XPath locators
2) 1) selectByValues()
3) 2) WebDriver is an interface and RemoteWebDriver is a class
4) 1) Yes
5) 2) SwitchTo ()
6) 2) getScreenshotAs ()
7) 1) Yes. getFullPageScreenshotAs()
8) 2) Apache POI
9) 3) Headless
10) 2) getWindowHandles()
11) 2) WebElement
12) 2) Actions class
13) 1) NoSuchElementException
14) 2) Right Click
15) 1) a.contextClick().perform();
16) 1) Executes the test without a graphical user interface
17) 2) Return the title of the webpage displayed on the browser tab
18) 2) InvalidCookieDomainException
19) 1) InvalidElementStateException
20) 4) Update the chrome driver.
21) 2) NoSuchElementException
22) 4) All of the above
23) 1) DragAndDrop
24) 3) JavaScriptExecutor
25) 2) driver.switchTo().frame()