GithubHelp home page GithubHelp logo

Selenium::WebDriver::Error::InvalidElementStateError: Cannot set the element to 'abc'. Did you interact with the correct element? about appium_capybara HOT 6 CLOSED

appium avatar appium commented on June 16, 2024
Selenium::WebDriver::Error::InvalidElementStateError: Cannot set the element to 'abc'. Did you interact with the correct element?

from appium_capybara.

Comments (6)

mykola-mokhnach avatar mykola-mokhnach commented on June 16, 2024

I don't think ImageView is capable to accept a user input

from appium_capybara.

vidhijain24 avatar vidhijain24 commented on June 16, 2024

@mykola-mokhnach, This is what I does not understand how to handle this? I want to set value in email address textbox.

app

from appium_capybara.

KazuCocoa avatar KazuCocoa commented on June 16, 2024

What's the page source?

from appium_capybara.

vidhijain24 avatar vidhijain24 commented on June 16, 2024

@KazuCocoa,

this is what u want?
page-source
source_xml.txt

from appium_capybara.

KazuCocoa avatar KazuCocoa commented on June 16, 2024

Thanks. As Android, the element seems an image. So, Appium could not type texts via Android framework, I guess.

If you can fill some strings in the area via adb command such as $ adb shell input text xxxx mobile:type or typing texts via mobile:shell may help.
https://appium.io/docs/en/commands/mobile-command/

from appium_capybara.

KazuCocoa avatar KazuCocoa commented on June 16, 2024

Close since this is not Appium side issue.

If you can switch the element with EditTest, for example, I think sendKeys will work for it.

from appium_capybara.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.