Note : We can find the location of the element with the id-name but just wanted to know how can we access with the help of relative-locators!!
For that page login to this sample web-page for testing. Link : https://www.saucedemo.com/
I have tried it with near, above functions By class-name “bm-item-list” but the driver could not locate it.
Appreciate your help !!!