Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I get all hrefs(links) that reside in anchor tags with JavaScript code using selenium python? Those links are dynamically changed every time. #1

Open
himabinduyeddala opened this issue Aug 1, 2018 · 0 comments

Comments

@himabinduyeddala
Copy link

himabinduyeddala commented Aug 1, 2018

capture
571461
I could not paste the whole html because its huge one. From the above html i pasted 571461 is obtained through javascript. i am trying to get all href from webpage . i got all the hrefs but for above link i got like this
javascript:selectItem('/7000/7020.aspx?reqID=' + ContentPH_hidReqID.getValue() + '&wf=0' + addUrlText() + '#ContentPH_tabReq:ContentPH_pnlCandidates') .
can you help me how to extract that ReqID from that tag. and how to get that type of links in that webpage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant