function defineWalletSetup(walletPassword, fn): { "fn": WalletSetupFunction; "hash": string; "walletPassword": string;}
This function is used to define how a wallet should be set up.
Based on the contents of this function, a browser with the wallet extension is set up and cached so that it can be used by the tests later.