Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.39 KB

web-desktop-browser.md

File metadata and controls

59 lines (40 loc) · 1.39 KB

Web (Desktop Browser)

{% hint style="info" %} Desktop support is currently in Beta. We would appreciate your feedback! {% endhint %}

Maestro can test Web apps / web pages running on a desktop browser.

Example Usage

The syntax is exactly the same as for any other Maestro test, except that you need to specify url instead of an appId in your test file

# example.yaml

url: https://maestro.mobile.dev
---
- launchApp
- tapOn: Installing Maestro
- assertVisible: Installing the CLI

Then run it with:

maestro test example.yaml

{% hint style="info" %} Maestro will spend some time downloading Chromium on the first launch. Each following test will run much faster. {% endhint %}

Maestro Studio

To launch Maestro Studio for Web, use the -p web option:

maestro -p web studio

Other Resources

{% content-ref url="broken-reference" %} Broken link {% endcontent-ref %}

{% content-ref url="../api-reference/commands/" %} commands {% endcontent-ref %}

Known Limitations

These features are not supported yet but should be feasible to implement if there is a common demand:

  • Different browsers support (current default is Chromium)
  • Different locales support (current default is en-US)
  • Screen size configuration