mardi 11 février 2020

Delete all clickable elements in Selenium test c# (VS 2019)

I have a selenium test and in my work it is necessary delete all lines in one place. Structure of exercise looks like this, if this element is clickable, make a click, else make click on other clickable element. I show action plan here:

Here it is my version of this exercise, but here it is possible make click only one time(make 1 step) and after that click on the final element(make step 3): code

Also, if i open this web page and there are no elements, which it is necessary to delete, I have an error, it is impossible to make step 3 and move on Error

I hope someone can help me. Thanks

Aucun commentaire:

Enregistrer un commentaire