jeudi 25 octobre 2018

Chrome inspect, cant locate element by xpath I just copied

I have a spinner icon poping up dynamically on page indicating page is loading, I need to detect when it disappears (this bit is clear for me)

Every time I click on this spinner inside google chrome inspect, and I press copy xpath, I get this one:

/html/body/vr-root/vr-route-handler/vr-layout/mat-sidenav-container/mat-sidenav-content/div/mat-sidenav-container/mat-sidenav-content/div/div/bs-campus/div/div/bs-data-grid/div/div[2]/mat-spinner/svg/circle

But when I try to locate this element (even inside Chrome inspect tool pressing CTR+F, it does not find it.

Is there any different way to locate it? I have tried to search it with relative xpath, but it fails too:

.//div/mat-spinner




Aucun commentaire:

Enregistrer un commentaire