admin管理员组文章数量:1316227
running on windows 11 via git bash shell in visual studio code using:
"@wdio/cli": "^9.7.1",
"@wdio/devtools-service": "^8.41.0",
"@wdio/jasmine-framework": "^9.7.1",
"@wdio/junit-reporter": "^9.6.3",
"@wdio/local-runner": "^9.7.1",
"@wdio/spec-reporter": "^9.6.3",
"@wdio/types": "^9.6.3",
would you not expect the element, an input of type checkbox, to be clickable after waitForClickable returns?
await titleTabs[index].click();
titleTabs[index].waitForClickable();
const isClickable = await titleTabs[index].isClickable();
await thismonLogging.log(`is clickable: ${isClickable}`);
I keep getting:
is clickable: false
also, the reason I started messing around with this is that isSelected was returning false when the checkbox was not selected as seen when running the browser without headless mode.
much appreciated
本文标签: webdriver ioelement not clickable after elementwaitForClickable() returnsStack Overflow
版权声明:本文标题:webdriver io - element not clickable after element.waitForClickable() returns - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741996586a2410166.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论