Selenium IDE - 单击具有相同类的所有元素

时间:2017-07-08 15:08:20

标签: selenium selenium-ide

我有很多<我>使用相同的类= “右图标图标 - 历史记录etech-workorderlist-history-action”,我正在尝试创建一个在点击所有这些内容时服务的脚本:

x = np.nonzero(dstc > 0 and dst < 60)
dstc[x] = 0

我写了这个,但它只点击了第一个

Traceback (most recent call last):
File "C:\Python27\Sheet Counter\customsobel.py", line 32, in <module>
    x = np.nonzero(dstc > 0 and dst < 60)
ValueError: The truth value of an array with more than one element is 
ambiguous. Use a.any() or a.all()

0 个答案:

没有答案
相关问题