Home Reference Source
import Launcher from 'chaldeas/lib/chrome/launcher.js'
public class | source

Launcher

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

chromeLauncher: chromeLauncherType

lighthouse/lighthouse-cli/chrome-launcher instance

public

config: launchOption

launcher config

Method Summary

Public Methods
public

check chrome is launched?

public

async reboot(): Promise

chrome reboot method.

public

async start(): Promise

Launch Chrome with Background.

public

async terminate(): Promise

chrome is terminate

Public Constructors

public constructor() source

Public Members

public chromeLauncher: chromeLauncherType source

lighthouse/lighthouse-cli/chrome-launcher instance

public config: launchOption source

launcher config

Public Methods

public isLaunched(): boolean source

check chrome is launched?

Return:

boolean

public async reboot(): Promise source

chrome reboot method.

Return:

Promise

public async start(): Promise source

Launch Chrome with Background.

Return:

Promise

public async terminate(): Promise source

chrome is terminate

Return:

Promise