Issue
How can I interact with elements on a website that uses dynamically generated classes or IDs, which change on runtime and update when the page refreshes, using Selenium in Python?
I am totally unaware of the scenario, because i had not worked on these sites. for reference, site is like "linkedin"
Solution
If you are trying to access elements on a website on which the elements are dynamically changing and if you are trying to get a link you can try using link_by_text or partial_link_text or if you are trying to get the element that is not link you can use CSS_Selector or XPATHS or FULL XPATH.
Answered By - Techionik LTd
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.