[Autofill Assistant] Simplify WaitForDocumentReadyState
The previous implementation used a differing strategy based on the optional selector. This CL changes to use the |EvaluateParams| based approach for both cases. This is step 1 in a plan to refactor * WaitForDocumentReadyState * WaitForDocumentToBecomeInteractive to become one. Bug: b/172542134 Change-Id: I5d8cd765e4cb4e922bd3f5e65a03678caa0d52c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2523176 Commit-Queue: Sandro Maggi <sandromaggi@google.com> Reviewed-by:Mathias Carlen <mcarlen@chromium.org> Cr-Commit-Position: refs/heads/master@{#825707}
Showing
Please register or sign in to comment