# 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()
 
公众号:神经病集散中心