findElement(): This is used to find the first element on the existing web page matching the specified locator value. You must remember that only first matching element will be fetched.

findElements(): This is used to find all of the elements in the existing web page matching the specified locator value. You must remember that all of the matching elements will be fetched and saved in the WebElements list.

Suggest An Answer

No suggestions avaliable!