commit | 795fb79651648d3da7c538aafc2b548e25299912 | [log] [tgz] |
---|---|---|
author | Sam Uong <samuong@chromium.org> | Tue Feb 21 23:08:09 2017 |
committer | Sam Uong <samuong@chromium.org> | Tue Feb 21 23:08:09 2017 |
tree | 046ee02273279a1bc438b93ec3816d59842739fc | |
parent | 60f9e4e46a84f361dc10b99fee539805f0c2f69a [diff] |
Add an infobar if a session is being controlled by an automated test. This infobar is only displayed if the browser is launched with the --enable-automation switch. It also disables the developer mode extensions warning bubble. Design doc: https://docs.google.com/document/d/1JYj9K61UyxIYavR8_HATYIglR9T_rDwAtLLsD3fbDQg/edit BUG=chromedriver:1625 TEST=launch with and without --enable-automation, and check for presence of automation infobar Review-Url: https://codereview.chromium.org/2564973002 Cr-Commit-Position: refs/heads/master@{#450257} (cherry picked from commit 7a66b24c10161a5db8668729a97ac95cee9068e2) Review-Url: https://codereview.chromium.org/2703363004 . Cr-Commit-Position: refs/branch-heads/2987@{#627} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943}