We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check
Change all, from:
const headerText = await page.locator('h2').textContent(); check(headerText, { 'header': headerText === 'Welcome, admin!' });
To:
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js'; // ... check(page.locator('h2'), { 'header': async lo => await lo.textContent() === 'Welcome, admin!' });
The content you are editing has changed. Please copy your edits and refresh the page.
The text was updated successfully, but these errors were encountered:
We'll also update the xk6-browser examples/.
xk6-browser
examples/
Done: grafana/xk6-browser#1448
Sorry, something went wrong.
inancgumus
Successfully merging a pull request may close this issue.
Change all, from:
To:
Tasks
check
instead of the sync one #1746check
to asynccheck
xk6-browser#1448The text was updated successfully, but these errors were encountered: