This can be done with kantu’s desktop automation feature!
=> It works then just like automated browser extension testing.