与空手道存在混淆吗? [英] A bit confusion with exists in karate?

查看:60
本文介绍了与空手道存在混淆吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是存在可见性这样的元素

I am using exist for an element whose visibility is conditional like this

* if (locate('#elusivePopup').exists) click('#elusiveButton')

但是,当元素不可见时,会显示错误消息找不到定位器#elusivePopup"?

But when the element is not visible it gives an error as "cannot find locator #elusivePopup"?

版本0.9.6.RC4

version 0.9.6.RC4

推荐答案

在0.9.6.RCX中已更改

This changed in 0.9.6.RCX https://github.com/intuit/karate/issues/1148

* if (exists('#epp')) click('#eb')

这篇关于与空手道存在混淆吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆