Skip to main content

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 unlockForFixture(page, password): Promise<void>
A more advanced version of the MetaMask.unlock() function that incorporates various workarounds for MetaMask issues, among other things. This function should be used instead of the MetaMask.unlock() when passing it to the testWithSynpress function.

Parameters

ParameterTypeDescription
pagePageThe MetaMask tab page.
passwordstringThe password of the MetaMask wallet.

Returns

Promise<void>