EXCUTE JAVAScript点击事件

# Execute Javascript document.getElementsByClassName('chooseFile')[${index}].arguments[0].click();
# Click Element xpath=//*[@id="filePicker"]/div[1]/span[contains(text(), '选择文件')]
# Click Element dom=$("span[class='chooseFile']")

JavaScript的点击事件
document.getElementById('su').click()
document.getElementsByClassName('inner')[0].click()
document.getElementsByTagName('span')[2].click()
document.getElementsByName('key')[0].click()
 
posted @ 2019-12-02 14:33  燕十三丶  阅读(356)  评论(0编辑  收藏  举报
AmazingCounters.com