I want to scrape a website using python selenium however every time it gives different id to same html element. I don’t know how to circumvent it.
maybe XPATH is my saviour? but I don’t know how reliable it is.
I want to scrape a website using python selenium however every time it gives different id to same html element. I don’t know how to circumvent it.
maybe XPATH is my saviour? but I don’t know how reliable it is.
yup. Use the structure of the document.
If that isn’t possible, use the visual representation.