Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit bab50db

Browse files
committed
Fix the ip address in browser_args
On mac using 127.0.0.254 doesn't seem to work, whereas 127.0.0.1 does work in the way this test intends it to work.
1 parent 9047580 commit bab50db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/browser_args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const options = {
1010
export default function() {
1111
const browser = chromium.launch({
1212
headless: __ENV.XK6_HEADLESS ? true : false,
13-
args: ['host-resolver-rules=MAP test.k6.io 127.0.0.254'],
13+
args: ['host-resolver-rules=MAP test.k6.io 127.0.0.1'],
1414
});
1515
const context = browser.newContext();
1616
const page = context.newPage();

0 commit comments

Comments
 (0)