Closed ampractise closed 2 years ago
Hi, thanks for opening this issue!
It should be fixed by #327, so you can build a xk6-browser
binary off that branch right now with xk6 build --with github.com/grafana/xk6-browser@097ca28405913158e2dd3257523a06d6d55a84d9
, wait until it's merged and build it with xk6 build --with github.com/grafana/xk6-browser@main
, or wait until end of June for the official v0.4.0 release.
page.contet() not working else if (env == 'perf') { url = 'https://www.google.com/'; }
const browser = launcher.launch('chromium', { headless: false, debug: false, slowMo: '500ms', });
const context = browser.newContext(); const page = context.newPage(); page.goto(url, { waitUntil: 'load' }); //page.waitForSelector(Locator.userName); let newvalue = page.content(); console.log(newvalue);