We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14da26f commit 31e1588Copy full SHA for 31e1588
src/lib/screenshot.ts
@@ -35,7 +35,7 @@ async function captureScreenshotsForConfig(
35
if(ctx.config.userAgent !== ""){
36
contextOptions.userAgent = ctx.config.userAgent;
37
}
38
- if (urlConfig.userAgent !== "" && urlConfig.userAgent !== undefined) {
+ if (userAgent && userAgent !== "") {
39
contextOptions.userAgent = userAgent;
40
41
0 commit comments