Moving elements on the page - Selenium

As I just mentioned, Selenium, when using the value of the ID attribute, can find the elements on the page even if they were moved. Click on the button with the text Random on the Chapter(Locators) page of the site (you can do this manually), and then run the script that we created earlier. You will see that your test executes successfully.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

Selenium Topics