You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this possible?
I'm using playwright in a nextjs app with wagmi.
What I would like is to be able to programmatically auto-connect to a given address on a given chain using a mock connection.
Currently I just connect to SUPPORTED_CHAINS[0] and mockedAccounts[0] by default and with useConnect's connect() function, which requires clicking the ui.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Is this possible?
I'm using playwright in a nextjs app with wagmi.
What I would like is to be able to programmatically auto-connect to a given address on a given chain using a mock connection.
Currently I just connect to SUPPORTED_CHAINS[0] and mockedAccounts[0] by default and with useConnect's connect() function, which requires clicking the ui.
I am new to wagmi, so may have overlooked some hooks/features.
Beta Was this translation helpful? Give feedback.
All reactions