【发布时间】:2018-03-28 15:47:46
【问题描述】:
我正在尝试使用量角器验证元素是否启用。这是元素:
<button class="btn-blue mat-raised-button" mat-raised-button="" type="button" disabled>
我尝试使用 element.isEnabled() 进行操作,但没有成功。
【问题讨论】:
-
按钮有名字吗?
-
@PhotographyBum ,不,按钮没有名称属性
标签: javascript html protractor