0 votes
in Selenium by
Consider the following HTML code snippet

1

2

3

4

      driver.findElement(By.xpath(“//table/tr[1]/td”)).getText();

a) The above statement returns 1

b) The above statement returns 3

c) The xpath query is incorrect

d) webdriver statement is incorrect

1 Answer

0 votes
by
The above statement returns 1
...