我正在尝试使用selenium在python中制作一个web刮板,并希望从嵌入式h3标记中获取文本,以及一个"a“标记中的文本。该网站的基本结构如下。<div class="class_name"> <a href="link that I do NOT want">Text That I want</
我正在尝试使用PythonSelenium来实现一些web自动化。现在,我可以从网络上获取所有的href。问题是,我只想获取href --c like btn_icon“class=/span <--数字是>= 1,如果没有数字,它就不会获得href this is the code with number>= 1 this is the code with no number in it from seleniu