# chrome: Open a site in Chrome

Source: https://zotonic.com/docs/3007/chrome-open-a-site-in-chrome

URI: https://zotonic.com/id/3007

Language: en

Open a site in Chrome.

Syntax
------

```text
bin/zotonic chrome [-s] [--browser-switch ...] <site_name>
```

Requirements and effects
------------------------

Requires a running node and an installed supported browser on the host executing the browser action.

Put browser switches before the final site name. `-s` is a flag without a value in the parser; it enables the local certificate-related behavior. Use the ordinary invocation first. A browser opening successfully does not verify the page response or application behavior.

Example
-------

```sh
bin/zotonic chrome garden
```

Run commands from the Zotonic workspace root. Replace `garden` with your site name where applicable.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3007?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3007?language=en>)
