We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
先说明前提,我所测试的app基于flutter开发
问题描述:输入框输入数字177890,无法输入
复现步骤:self.device(text='请输入你的手机号码').set_text('177890') 响应:14:47:33.850 $ curl -X POST -d '{"jsonrpc": "2.0", "id": "8ab3b802671062a4350c23674eeb2d54", "method": "setText", "params": [{"mask": 1, "childOrSibling": [], "childOrSiblingSelector": [], "text": "\u8bf7\u8f93\u5165\u4f60\u7684\u624b\u673a\u53f7\u7801"}, "177890"]}' 'http://localhost:14319/jsonrpc/0' 14:47:34.078 Response (227 ms) >>> {"jsonrpc":"2.0","id":"8ab3b802671062a4350c23674eeb2d54","result":true} <<< END 响应是成功的,但app的输入框中依然是空的,没有177890 继而又尝试了多种方法: d(text='请输入你的手机号码').set_text('177890') ; d.press(key='0x07'); d.press(0x07,0x02); 结果都一样,响应都是Ture,但是屏幕上啥也没有。 所以我不知道是不是因为flutter导致的问题,还是有其他的解决方法?
self.device(text='请输入你的手机号码').set_text('177890')
响应:14:47:33.850 $ curl -X POST -d '{"jsonrpc": "2.0", "id": "8ab3b802671062a4350c23674eeb2d54", "method": "setText", "params": [{"mask": 1, "childOrSibling": [], "childOrSiblingSelector": [], "text": "\u8bf7\u8f93\u5165\u4f60\u7684\u624b\u673a\u53f7\u7801"}, "177890"]}' 'http://localhost:14319/jsonrpc/0' 14:47:34.078 Response (227 ms) >>> {"jsonrpc":"2.0","id":"8ab3b802671062a4350c23674eeb2d54","result":true} <<< END
The text was updated successfully, but these errors were encountered:
adb shell input text xxx 试试能输入吗
Sorry, something went wrong.
No branches or pull requests
先说明前提,我所测试的app基于flutter开发
问题描述:输入框输入数字177890,无法输入
复现步骤:
self.device(text='请输入你的手机号码').set_text('177890')
响应:14:47:33.850 $ curl -X POST -d '{"jsonrpc": "2.0", "id": "8ab3b802671062a4350c23674eeb2d54", "method": "setText", "params": [{"mask": 1, "childOrSibling": [], "childOrSiblingSelector": [], "text": "\u8bf7\u8f93\u5165\u4f60\u7684\u624b\u673a\u53f7\u7801"}, "177890"]}' 'http://localhost:14319/jsonrpc/0' 14:47:34.078 Response (227 ms) >>> {"jsonrpc":"2.0","id":"8ab3b802671062a4350c23674eeb2d54","result":true} <<< END
响应是成功的,但app的输入框中依然是空的,没有177890
继而又尝试了多种方法:
d(text='请输入你的手机号码').set_text('177890') ;
d.press(key='0x07');
d.press(0x07,0x02);
结果都一样,响应都是Ture,但是屏幕上啥也没有。
所以我不知道是不是因为flutter导致的问题,还是有其他的解决方法?
The text was updated successfully, but these errors were encountered: