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

Related questions

0 votes
asked Apr 21, 2022 in Scala Constructs by sharadyadav1986
0 votes
asked Dec 7, 2023 in Angular by GeorgeBell
...