[Autofill Assistant] Filter elements by CSS style in Selectors.
With this change, it becomes possible to filter element by computed CSS property, for example, to find button that has not been hidden using CSS, do: filters { css_selector: "button" } filters { css_style { property: "visibility" value { re2: "visible" } } } The implementation is based on window.getComputedStyle. Bug: b/171464032 Change-Id: Ic89219f969c614258edabec91705e9c37348138c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2498484 Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Reviewed-by:Clemens Arbesser <arbesser@google.com> Cr-Commit-Position: refs/heads/master@{#821238}
Showing
Please register or sign in to comment