且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检查复选框是否已选中

更新时间:2023-12-04 22:03:22

您尝试过element.isEnabled()吗?如果是这样,请尝试使用getAttribute函数获取检查的属性.我认为如果取消选中该复选框,它将消失.

Did you try element.isEnabled()? if so try to get the attribute checked using getAttribute function. I think it gonna disappear when the checkbox is unchecked.