appium / appium/java-client

driver.getKeyboard().sendKeys(); showing deprecated

Open
#1,307 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

SendKeys is working but shown as deprecated method when used with driver.findelement(mobileby.AndroiduiAutomator("text"));

is there any workaround way that does not give warning??

Environment

  • Appium version (or git revision) that exhibits the issue:1.15.1
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium:WINDOWS 8.1
  • Node.js version (unless using Appium.app|exe):v6.9.4
  • Npm or Yarn package manager:
  • Mobile platform/version under test:
  • Real device or emulator/simulator:Real device
  • Appium CLI or Appium.app|exe:

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

Create a GIST which is a paste of your full Appium logs, and link them here.
Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs!

Code To Reproduce Issue [ Good To Have ]

Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.

Please git clone https://github.com/appium/appium and from the sample-code directory, use one of your favourite languages and sample apps to reproduce the issue.

In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the warning with driver.getKeyboard().sendKeys() and driver.findelement(mobileby.AndroiduiAutomator("text")) on the reported Appium 1.15.1 environment. Check the Java client API entry points and available issue context; the issue provides no logs, sample code, named files, or defined acceptance criteria for what should change.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.