How do I run the tunnel using the Laravel framework?

How can I run the tunnel using the Laravel framework?

Hello Tim,

To run the tunnel using the Laravel framework, add the following snippet in your base test file:

 $username = env('LT_USERNAME');
        $access_key = env('LT_ACCESS_KEY');
        $url = "https://".$username.":".$access_key."@hub.lambdatest.com/wd/hub";

         $capabilities = array(
                "build" => "LaravelDusk Build",
                "name" => "LaravelDusk Build",
                "platform" => "Windows 10",
                "browserName" => "Chrome",
                "version" => "latest",
                "tunnel" => true

     );

Refer to the Capability Generator - Automation Capabilities Generator For Selenium and Appium | LambdaTest