# openLink

This command opens a web link. It can also be used for Deep Links (Android) and Magic Links (iOS)

## Examples

Use the command `link` option to open any link:

```yaml
- openLink:
    link: https://www.moropo.com
```

### Auto-Verify (Android only)

Set the `autoVerify` option to `true` (defaults to `false`) to bypass the 'Welcome to Chrome' onboarding menu.

```yaml
- openLink:
    link: https://www.moropo.com
    autoVerify: true
```

### Force Browser (Android only)

Some apps (such as Facebook) use in-built browsers to handle links. If you'd like to force Android to use the system browser (such as Chrome), then set `browser` to `true` (defaults to `false`):

```yaml
- openLink:
    link: https://www.moropo.com
    browser: true
```

*Note: in Android 13+, the operating system will opt to use the system browser by default.*

## Related Commands

[launchapp](https://docs.moropo.com/creating-tests/commands/launchapp "mention")
