Espresso Web - perform(DriverAtoms.webKeys("0.11")) only inputs 11
Author: westpacqeCreated Mar 24, 2025Updated Jul 23, 2025
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?
Source: android/testing-samples