I have the following anchor tag with this href:
<a id="bodyContent_gv_list_lbtn_personname_2" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$bodyContent$gv_list$ctl04$lbtn_personname", "", true, "", "", false, true))"><span class="articleText">element</span></a>
I need to provide a link directly to the page this href is referncing. I would usually use a selenium driver and use get_attribute('href')
of an anchor element. However, when I do that I am left with the script as you see writen. When the element is clicked manually the URL in my browser does not change (so I cannot construct it). Is there a way to turn this javascript script into a URL that directly links to the page which it is referncing?
I tried checking if the URL can be manually constructed (but it does not change when the link is clicked).
There is nothing in the useful in XHR or JS in the network tab