We run autotester in main thread because AutoTester must have access to the clients and the server. So, we pass window object as worker as it has the same API. Open browser dev tools to see call logs.