macaca
macaca copied to clipboard
针对系统级的弹框,代码中采用elementByName.click报错
代码:
//点击确认
driver.elementByName(Config.Exit_Login_Confirm).click();
日志:
This is the translated issue:
For system-level bullets, the code is identified by elementByName.click in the code.
!
Code:
//Click to confirm
driver.elementByName(Config.Exit_Login_Confirm).click();
Log:
用完整xpath试试,遇到过一样的问题
This is the translated issue comment: @EngiGu
Try it with full xpath and have encountered the same problem
用完整xpath试试,遇到过一样的问题
使用xpath倒是可以点击,但是也会报错,只不过错误是另外一种,如下:
This is the translated issue comment: @zhechengmao
Try with the full xpath and have encountered the same problem
Using xpath can be clicked, but it will also report an error, but the error is another, as follows:
!