chore: lint
This commit is contained in:
@@ -201,7 +201,7 @@ export class RemoteBrowser {
|
|||||||
const contextOptions: any = {
|
const contextOptions: any = {
|
||||||
viewport: { height: 400, width: 900 },
|
viewport: { height: 400, width: 900 },
|
||||||
// recordVideo: { dir: 'videos/' }
|
// recordVideo: { dir: 'videos/' }
|
||||||
// Force reduced motion to prevent animation issues
|
// Force reduced motion to prevent animation issues
|
||||||
reducedMotion: 'reduce',
|
reducedMotion: 'reduce',
|
||||||
// Force JavaScript to be enabled
|
// Force JavaScript to be enabled
|
||||||
javaScriptEnabled: true,
|
javaScriptEnabled: true,
|
||||||
@@ -249,7 +249,7 @@ export class RemoteBrowser {
|
|||||||
).get;
|
).get;
|
||||||
patchedGetter.apply(navigator);
|
patchedGetter.apply(navigator);
|
||||||
patchedGetter.toString();`
|
patchedGetter.toString();`
|
||||||
);
|
);
|
||||||
this.currentPage = await this.context.newPage();
|
this.currentPage = await this.context.newPage();
|
||||||
|
|
||||||
await this.setupPageEventListeners(this.currentPage);
|
await this.setupPageEventListeners(this.currentPage);
|
||||||
|
|||||||
Reference in New Issue
Block a user