From ba9ba7475d6c2d1d0dd8ec975be3ec373b5480b5 Mon Sep 17 00:00:00 2001 From: Daniel Izdebski Date: Thu, 21 Sep 2023 03:53:34 +0200 Subject: [PATCH] Extend example --- examples/metamask-legacy/src/example.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/metamask-legacy/src/example.ts b/examples/metamask-legacy/src/example.ts index a989572b9..15c158b0c 100644 --- a/examples/metamask-legacy/src/example.ts +++ b/examples/metamask-legacy/src/example.ts @@ -1,3 +1,7 @@ -import { helpers } from 'metamask-legacy' +import { helpers, metamaskPages } from 'metamask-legacy' console.log(helpers.getCurrentNetwork()) +console.log( + 'Example selector:', + metamaskPages.mainPage.mainPageElements.importAccount.importButton +)