How do I run the tunnel using the Mocha framework?

Let me know how I can run the tunnel using the Mocha framework.

Hello Macy,

Configure tunnel first either by Command line or by underpass. Then you can use the below capability:

capabilities = {
                "build" : "your build name",
                "name" : "your test name",
                "platform" : "Windows 11",
                "browserName" : "Chrome",
                "version" : "103.0",
                "selenium_version" : "3.141.59",
                "tunnel" : "true";
     }