在html页面中select
标签默认情况下具有属性readonly=true
,但在一段时间之后,应用会删除此属性。我需要等到readonly
属性被删除才能开始测试。我怎么能这样做?
'Test'(client) {
client
.url('my url')
.waitForElementPresent('#some_element:', 5000)
.(here I need to wait before element becomes not readonly)
.(continue...)
client.end()
},