How do I pass Chrome options in PHPUnit?
Hi Yanisleidi!
To pass Chrome options using PHPUnit framework, you can use the below capability in your automated scripts.
$capability = array(
"browserName" => "Chrome",
"browserVersion" => "104.0",
"LT:Options" => array(
"username" => "LT_USERNAME",
"accessKey" => "LT_ACCESS_KEY",
"platformName" => "MacOS Monterey",
"project" => "Untitled"
)
);