Pass web opt through

This commit is contained in:
Daniel Imms 2019-07-19 17:21:11 -07:00
parent 88c8745851
commit e0d2e537f0
3 changed files with 4 additions and 3 deletions

View file

@ -125,7 +125,8 @@ export class Application {
verbose: this.options.verbose,
log: this.options.log,
extraArgs,
remote: this.options.remote
remote: this.options.remote,
web: this.options.web
});
this._workbench = new Workbench(this._code, this.userDataPath);

View file

@ -212,7 +212,8 @@ function createOptions(): ApplicationOptions {
verbose: opts.verbose,
log,
screenshotsPath,
remote: opts.remote
remote: opts.remote,
web: opts.web
};
}

View file

@ -319,7 +319,6 @@ let args;
export function launch(_args): void {
args = _args;
// TODO: Move puppeteer launch here
console.log(args);
}
export function connect(outPath: string, handle: string): Promise<{ client: IDisposable, driver: IDriver }> {