playwright
Index
Member | Description |
---|---|
EthereumWalletMock | Mock implementation of an Ethereum wallet for testing purposes. |
MetaMask | MetaMask class for interacting with the MetaMask extension in Playwright tests. |
DEFAULT_NETWORK_ID | The network ID (Optimism network by default). |
PRIVATE_KEY | The private key used for testing purposes. |
web3MockPath | Relative path to the web3-mock bundle. |
ethereumWalletMockFixtures | Declares a test. |
getExtensionId | Returns the extension ID for the given extension name. The ID is fetched from the chrome://extensions page. |
metaMaskFixtures | - |
mockEthereum | - |
unlockForFixture | A more advanced version of the MetaMask.unlock() function that incorporates various workarounds for MetaMask issues, among other things. |