> ## Documentation Index
> Fetch the complete documentation index at: https://docs.synpress.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Function: initMetaMask()

```ts theme={null}
function initMetaMask(): Promise<{
  "browserArgs": string[];
  "extensions": string[];
}>
```

Initializes MetaMask for Cypress tests.

This function prepares the MetaMask extension for use in Cypress tests.
It sets up the necessary browser arguments and extension paths.

## Returns

`Promise`\<\{
`"browserArgs"`: `string`\[];
`"extensions"`: `string`\[];
}>

An object containing the extension path and browser arguments.

| Member        | Type        |
| :------------ | :---------- |
| `browserArgs` | `string`\[] |
| `extensions`  | `string`\[] |

## Async
