Fix: use --web-launch-url and --web-hostname arguments in flutter drive (#131763)

Implement expected functionalities when supplying `--web-launch-url` and/or `--web-hostname` arguments to `flutter drive`.
- `--web-launch-url` now sets the starting url for the (headless) browser
  - Which for example means you can start at a certain part of the app at the start of your integration test
- `--web-hostname` now sets the hostname where the target of flutter drive will be hosted
  - Which allows you to set something other than localhost (allowing access via a reverse-proxy for example)

Fixes #118028
This commit is contained in:
Danny Eldering
2023-08-10 22:53:08 +02:00
committed by GitHub
parent 4d42f1a852
commit 82e2de0650
3 changed files with 36 additions and 4 deletions

View File

@@ -1,3 +1,2 @@
lib/generated_plugin_registrant.dart
vmservice.out
*.sksl.json