我遇到了以下异常:
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (Original error: Soft keyboard not present, cannot hide keyboard) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 368 milliseconds
我正在使用driver.hideKeyboard()来隐藏屏幕上打开的软输入键盘。
如何确保键盘在隐藏之前是已经打开状态?或者有其他解决方法吗?