Consider the element given below.
Which of the following Java commands will be used for locating the above element in WebDriver?
Correct Answer:
WebElement element = driver.findElement(By.id("exampleDiv"));
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Selenium Automation MCQ Questions