Issue metadata
Sign in to add a comment
|
AutomationNode.doDefault doesn't trigger click events |
||||||||||||||||||||||||
Issue descriptionChrome Version: 70.0.3519.3 OS: ChromeOS According to the code [1] [2], calling doDefault() on an input field or a textarea doesn't actually simulate click events; it only focuses. Also can confirm the issue locally with a test extension using the automation API. [1] https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/html/forms/input_type_view.cc?type=cs&sq=package:chromium&g=0&l=74 [2] https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/html/forms/html_text_area_element.cc?type=cs&sq=package:chromium&g=0&l=566
,
Sep 13
Sorry for the lack of context in the bug. I was trying to use the automation API to write some UI integration tests for the ChromeOS virtual keyboard. For various reasons (see 642513), invoking the virtual keyboard requires a real click on a textfield. After some discussion with dmazzoni@, it looks like it's very difficult for the automation API to simulate a "system-level" click that would invoke the virtual keyboard. So I'm probably going to use a different API to do the clicking. So if you think that the current behaviour (doDefault on textarea does not click) is WAI, then I'm happy to close this bug :)
,
Sep 21
We found a workaround without using the automation API so marking as WontFix. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by nek...@chromium.org
, Sep 13