[英]How do I check that an element does not exist, using Python and Appium?
[英]Using Appium / Python, how can I check if the Keyboard is showing or not?
我在此鏈接中看到了IsKeyboardShown方法的Appium文檔:
http://appium.io/docs/zh-CN/commands/device/keys/is-keyboard-shown/
它說#Python不支持
可能有解決方法?
謝謝
webdriver.py中有一個hide_keyboard
方法。
您可以將其用作例如:
self.driver.hide_keyboard()
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.