# actions

Allows to run multiple action interactions at once, e.g. to simulate a pinch zoom or hold a modifier key while clicking. Build each action chain with [`browser.action()`](/docs/api/browser/action.md), then pass the chains to this command.

## Usage[​](#usage "Direct link to Usage")

```
await browser.actions()
```

## Example[​](#example "Direct link to Example")

action.js

```
it('run multiple actions at once for a pinch zoom', async () => {
    await browser.actions([
        browser.action('pointer')
            .move(500, 500)
            .down()
            .move(250, 250)
            .up(),
        browser.action('pointer')
            .move(500, 500)
            .down()
            .move(750, 750)
            .up()
    ])
});
```
