小编J M*_*cis的帖子

Python / Selenium单击<div class =“ foo'>

我尝试使用Selenium click()方法:

elem = driver.find_element_by_class('foo').click()
Run Code Online (Sandbox Code Playgroud)

在html标记上:

<div class="foo"></div>
Run Code Online (Sandbox Code Playgroud)

可能吗?

html python selenium

3
推荐指数
1
解决办法
5371
查看次数

标签 统计

html ×1

python ×1

selenium ×1