[Autofill Assistant] Separate check for element existence or visibility.
Before this change, WebController::ElementExists always checked for both existence and visibility. With this change, WebController::ElementExists checks for existence, and WebController::ElementVisible for visibility. Element existence is used for preconditions, visibility is used for all other cases, such as when waiting for dom or waiting for an element to act on. This change also simplifies BatchElementChecker a bit by keeping element existence, visibility and field checks completely separate. Bug: 806868 Change-Id: Ibd232c317aff4ba4640e5c47a0a93a2b4637ec76 Reviewed-on: https://chromium-review.googlesource.com/c/1301783 Commit-Queue: Stephane Zermatten <szermatt@chromium.org> Reviewed-by:Ganggui Tang <gogerald@chromium.org> Cr-Commit-Position: refs/heads/master@{#603556}
Showing
This diff is collapsed.
Please register or sign in to comment