Add a findActiveElement test helper that also examines shadow roots
The browser has one activeElement. Add a test helper that is similar to getActiveElement but searches shadow roots for the actual activeElement if needed, and returns details about that element. Bug: 907380 Change-Id: I0478d125e2b3d1c44f4c5cea03d110b642424955 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002045Reviewed-by:Noel Gordon <noel@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#731895}
Showing
Please register or sign in to comment