K
K
kommov2021-10-22 01:07:24
Google
kommov, 2021-10-22 01:07:24

How to write xpath in full dynamics under google?

How to write xpath if each element is constantly updated? Tried on google. IDs, classes, css - in constant dynamics and even in frames. Frames also change all their attributes and names every couple of minutes. Can this be bypassed somehow? They don't even save starts-with, contains. In frame cycles, errors also fly, and it takes a very long time .. Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2021-10-22
@kommov

look for patterns rather than being tied to specific selectors.
for example, this element is always the third, or this element is always the second after this element, or this element always has such a child, and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question