Test Metamask interactions from a hardhat project?

https://ethereum.stackexchange.com/questions/145127/test-metamask-interactions-from-a-hardhat-project

Is there any way to test user interaction with Metamask from a hardhat project? I understand that hardhat is a browser addin, but I want to test useraction between my contract and metamask interaction like signing etc and transaction approval.

there used used to a node module called node-hardhat, but it seems to be out of date and not maintained.