[英]When I used function click on the chrome console I get undefined
I am using a xpath trying to click but I get undefined. 我正在使用xpath尝试单击,但未定义。
$x('//*[@id="form-container"]/ul/li[8]/div/div[2]/a')[0].click();
You can click manually is there any other way that I can click on the console and I tried $x('//*[@id="form-container"]/ul/li[8]/div/div[2]/a').click()
but does not work. 您可以手动单击,还有其他方法可以单击控制台,然后尝试了
$x('//*[@id="form-container"]/ul/li[8]/div/div[2]/a').click()
但不起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.