#flutter #appium
#flutter #appium
Вопрос:
Пока я тестирую страницу регистрации приложения flutter на appium desktop с помощью SendKeys, я получаю эту ошибку.
[element.sendKeys("K")] Error response status: 12, InvalidElementState - An element command could not be completed because the element is in an invalid state (e.g. attempting to click a disabled element).
Selenium error: Cannot set the element to 'K'. Did you interact with the correct element?
Ответ №1:
Для таких случаев с appium удобно использовать adb
Например, нажмите на элемент и adb shell input text "k"