/**
* Create a web client with the default kernel and disabled reboots
*/
public static function createBrowser(KernelInterface
$kernel, bool
$enableReboot = false
): TestBrowser
{ /** @var TestBrowser $apiBrowser */
$apiBrowser =
$kernel->
getContainer()->
get('test.browser'
);
if ($enableReboot) { $apiBrowser->
enableReboot();
} else { $apiBrowser->
disableReboot();
} return $apiBrowser;
} /**
* Boots the Kernel for this test.
*/
public static function bootKernel(bool
$reuseConnection = true, string
$cacheId = 'h8f3f0ee9c61829627676afd6294bb029'
): Kernel
{