用appium做手机app自动化时,对于有的输入框是无法用send_keys方法的。报错信息类似"io.appium.uiautomator2.common.exceptions.InvalidElementStateException: Cannot set the element......
以前很少见,现在类似::before或::after的伪类元素(pseudo element)还挺常见了。前端的东西我不了解,只是目前在做web自动化时操作这类元素会提示异常。比如会提示元素不可交互之类的错误(Element not Interactable),无法正常操作。于是准备逐步记录一......