lightpanda (#646)
* lightpanda * lightpanda benchmarks * improvements * fixes * improvements
This commit is contained in:
@@ -605,6 +605,9 @@ async function handleLaunch(
|
||||
command: Command & { action: 'launch' },
|
||||
browser: BrowserManager
|
||||
): Promise<Response> {
|
||||
if (command.engine === 'lightpanda') {
|
||||
return errorResponse(command.id, 'Lightpanda engine requires --native mode');
|
||||
}
|
||||
await browser.launch(command);
|
||||
return successResponse(command.id, { launched: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user