Skip to content

Commit dec1b88

Browse files
authored
fix: bring to front condition in _setPage (#4173)
1 parent bfc3450 commit dec1b88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/helper/Playwright.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -750,9 +750,7 @@ class Playwright extends Helper {
750750
});
751751
this.context = await this.page;
752752
this.contextLocator = null;
753-
if (this.options.browser === 'chrome') {
754-
await page.bringToFront();
755-
}
753+
await page.bringToFront();
756754
}
757755

758756
/**

0 commit comments

Comments
 (0)