0
Files
src/docs/fuchsia/webpage_tests.md
David Dorwin 44350d94e5 [fuchsia][docs] Reduce commands to a single line
Allow example commands to exceed 80 characters as this is more likely to
be how developers will enter them and makes them easier to copy.

Change-Id: I7e2e7b7f2f29965b1fcf694e0a1ca3ecbc1e817a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4222279
Commit-Queue: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Chong Gu <chonggu@google.com>
Cr-Commit-Position: refs/heads/main@{#1101624}
2023-02-06 16:49:00 +00:00

615 B

Run Webpage Tests on Fuchsia

[TOC]

These tests allow developers to update Chrome/WebEngineShell on their Fuchsia devices and navigate to a given url.

To build Chrome or WebEngineShell follow build instructions.

Usage

The following command will start an emulator, update WebEngineShell, and navigate to [URL]:

$ ./build/fuchsia/test/run_test.py webpage --browser=web-engine-shell [URL] -C [OUTPUT_DIR]

To use with a persistent Fuchsia device, add the flag --target-id=[FUCHSIA_NODENAME] to specify the device to use or -d if there is only one device connected.