小编Fin*_*ios的帖子

单击带有selenium和python的href按钮?

我有一个LinkedIn页面上的一个按钮,代码如下:

<div class="primary-action-button"><a class="primary-action label" href="/requestList?displayProposal=&amp;destID=39959446&amp;creationType=DC&amp;authToken=Yr4_&amp;authType=OUT_OF_NETWORK&amp;trk=vsrp_people_res_pri_act&amp;trkInfo=VSRPsearchId%3A2998448551382744275729%2CVSRPtargetId%3A39959446%2CVSRPcmpt%3Aprimary">Send InMail</a></div>
Run Code Online (Sandbox Code Playgroud)

有没有办法只通过其href链接点击一个元素?谢谢

python selenium click href button

16
推荐指数
2
解决办法
3万
查看次数

标签 统计

button ×1

click ×1

href ×1

python ×1

selenium ×1