how can I automate a website like facebook that don't have id as selectable element and the class and other elements are dynamic I mean they change when the page is refreshed how do I automate this with selelium python
I have tried using the xpath but it did work, I also used the tag element for some buttons and its working correctly but there are other sections that don't have tag I am only left with class and xpath but the problem is that the class name changes anytime the page is refreshed.