commit | 0c087e7934bb8369dafa4d4d285a8535a19d9c2d | [log] [tgz] |
---|---|---|
author | Dana Fried <dfried@chromium.org> | Tue Nov 12 22:36:44 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 12 22:36:44 2024 |
tree | ac264d0dd25b3f1f0de06bbb81abdd34cc3687d9 | |
parent | 7cab8932803bd9f13f67a7bd9a28075bdbc845a5 [diff] |
[Test Automation] Create InSameContextAs() helper. This works like InContext() but instead of explicitly specifying the context, an element is located and its context is used. This can be used with a named element, or an element that is unique across contexts, such as an instrumented WebContents in a browser test. Bug: 378691113 Change-Id: I816cc441326f266e23c7e6b15a7a50f2c4fc3bab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6015420 Reviewed-by: Finnur Thorarinsson <finnur@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/main@{#1382008}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.