WebView team maintains a “shell”--a thin interface over the WebView APIs--to exercise WebView functionality. The System WebView Shell (AKA “shell browser,” “WebView shell”) is a standalone app implemented in chromium. While often used for manual testing, we also use the shell for automated tests (see our layout and page cycler tests).
# Build and install $ autoninja -C out/Default system_webview_shell_apk $ out/Default/bin/system_webview_shell_apk install # Launch a URL from the commandline, or open the app from the app launcher $ out/Default/bin/system_webview_shell_apk launch "https://www.google.com/" # For more commands: $ out/Default/bin/system_webview_shell_apk --help
system_webview_shell_apk
does not support modifying CLI flags. See https://crbug.com/959425. Instead, you should modify WebView's flags by following commandline-flags.md.