Skip to content
New issue

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

Add Android input method methods (Appium 1.2) #16

Open
imurchie opened this issue Jul 1, 2014 · 0 comments
Open

Add Android input method methods (Appium 1.2) #16

imurchie opened this issue Jul 1, 2014 · 0 comments

Comments

@imurchie
Copy link
Contributor

imurchie commented Jul 1, 2014

Add methods to query and set the input method (IME) in Android (spec). Five methods are there:

  1. available engines: returns a list of engines available on the device
    • GET /wd/hub/session/:sessionId?/ime/available_engines
    • wd
  2. active engine: returns the currently active engine
    • GET /wd/hub/session/:sessionId?/ime/active_engine
    • wd
  3. is active: returns boolean, IME is active or not (on Android this is always true)
    • GET /wd/hub/session/:sessionId?/ime/activated
    • wd
  4. activate engine: takes the package and activity, and activates it
    • POST /wd/hub/session/:sessionId?/ime/activate
    • payload: { 'engine': 'com.android.inputmethod.latin/.LatinIME` }
    • wd
  5. deactivate engine: deactivates the currently active IME on the device
    • POST /wd/hub/session/:sessionId?/ime/deactivate
    • wd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant