android / android/testing-samples

Espresso Web - perform(DriverAtoms.webKeys("0.11")) only inputs 11

Open
#528 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.3k
Forks
3.6k
PR merge metrics
No merged PRs in 30d

Description

When interacting with webviews using this code

onWebView().withElement(findElement(Locator.ID, "payment-amount")).perform(DriverAtoms.webKeys("0.11"))

it only enters 11 without the decimal. I am trying to figure out how I can include decimal point in sending keys to webview.

Any idea?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue's Espresso Web snippet with DriverAtoms.webKeys("0.11") and inspect how that entry point handles the decimal character. Determine whether the decimal reaches the webview input, and verify that the complete value is entered as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.