Skip to content

Commit 53d53ae

Browse files
authored
Merge pull request #2709 from f-delahaye/bugfix/2707
resolve #2707
2 parents fc9f9a4 + c1cc986 commit 53d53ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

karate-playwright/src/main/java/com/intuit/karate/playwright/driver/PlaywrightDriver.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ public static <T extends Driver> T start(Map<String, Object> map, ScenarioRuntim
190190
if (options.start) {
191191
browser = browserType.launch(new BrowserType.LaunchOptions()
192192
.setHeadless(options.headless)
193-
.setChannel((String) pwOptions.getOrDefault("channel", "chromium")));
193+
.setChannel((String) pwOptions.getOrDefault("channel", "chromium"))
194+
.setArgs(options.addOptions));
194195
} else {
195196

196197
String playwrightUrl = options.playwrightUrl;

0 commit comments

Comments
 (0)