Google News
logo
Appium - Quiz(MCQ)
Which command is used to get the current context of the app?
A)
driver.getContext()
B)
driver.switchTo().context()
C)
driver.switchToContext()
D)
driver.getCurrentContext()

Correct Answer :   driver.switchTo().context()

Advertisement