【发布时间】:2018-12-29 09:04:13
【问题描述】:
我是 selenium python 的新手,我正在尝试单击 youtube 评论中的链接,但我不知道要使用什么元素?有人能帮我吗?谢谢 。 示例:
<a class="yt-simple-endpoint style-scope yt-formatted-string" spellcheck="false" href="/redirect?event=comments&redir_token=ttzJJRuKzz6sJPh8qdMnWStc-958MTU0NjE1NDU4M0AxNTQ2MDY4MTgz&stzid=Ugw6ip_QkzwyJPIq3bp4AaABAg&q=https%3A%2F%2Fjulissars.itworks.com%2F" rel="nofollow">https://julissars.itworks.com</a>
【问题讨论】:
标签: python selenium xpath css-selectors webdriverwait