![]() |
另类的核桃 · 全国党员教育电视片推荐目录五:文艺片_共产党员网· 1 年前 · |
![]() |
开朗的楼梯 · 造梦西游三哪个角色最好 - 抖音· 2 年前 · |
![]() |
不敢表白的牛肉面 · 苏珊•桑塔格访谈录:反对后现代主义及其他· 2 年前 · |
![]() |
深情的馒头 · 如何评价黄渤监制的电影《风平浪静》? - 知乎· 2 年前 · |
![]() |
求醉的大白菜 · 到2022年发布10款新车!现代要连续放大招 ...· 2 年前 · |
prometheus metrics grafana |
https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitfornavigation/ |
![]() |
有腹肌的大象
2 月前 |
Products
LGTM+ Stack
Key Capabilities
Observability Solutions
IRM
Deploy The Stack
Open Source
Community resources
Dashboard templates
Try out and share prebuilt visualizations
Prometheus exporters
Get your metrics into Prometheus quickly
end-to-end solutions
Opinionated solutions that help you get there easier and faster
monitor infrastructure
Out-of-the-box KPIs, dashboards, and alerts for observability
visualize any data
Instantly connect all your data sources to Grafana
Learn
Stay up to date
Technical learning
Docs
Get started
Get started with Grafana
Build your first dashboard
Get started with Grafana Cloud
Learning Journeys
What's new / Release notes
Help build the future of open source observability software Open positions
Check out the open source projects we support Downloads
LGTM+ Stack
Logs
powered by Grafana Loki
Grafana
for visualization
Traces
powered by Grafana Tempo
Metrics
powered by Grafana Mimir and Prometheus
Profiles
powered by Grafana Pyroscope
Key Capabilities
AI/ML insights
Identify anomalies and reduce toil
Contextual root cause analysis
Automated anomaly correlation
SLO management
Create SLOs and error budget alerts
Alerting
Trigger alerts from any data source
Plugins
Connect Grafana to data sources, apps, and more
Observability Solutions
Frontend Observability
Gain real user monitoring insights
Application Observability
Monitor application performance
Infrastructure observability
Ensure infrastructure health and performance
IRM
Grafana IRM
Observability native incident response
Incident
Routine task automation for incidents
OnCall
Flexible on-call management
Grafana Loki
Multi-tenant log aggregation system
Grafana
Query, visualize, and alert on data
Grafana Tempo
High-scale distributed tracing backend
Grafana Mimir
Scalable and performant metrics backend
Grafana Pyroscope
Scalable continuous profiling backend
Grafana Beyla
eBPF auto-instrumentation
Grafana Faro
Frontend application observability web SDK
Grafana Alloy
OpenTelemetry Collector distribution with Prometheus pipelines
end-to-end solutions
Opinionated solutions that help you get there easier and faster
Kubernetes Monitoring
Get K8s health, performance, and cost monitoring from cluster to container
Application Observability
Monitor application performance
Frontend Observability
Gain real user monitoring insights
Incident Response & Management
Detect and respond to incidents with a simplified workflow
visualize any data
Instantly connect all your data sources to Grafana
Stay up to date
Open source
Cloud
Enterprise
Waits for the given navigation lifecycle event to occur and returns the main resource response.
Parameter | Type | Default | Description |
---|---|---|---|
options | object |
null
|
|
options.timeout | number |
30000
|
Maximum time in milliseconds. Pass
0
to disable the timeout. Default is overridden by the
setDefaultTimeout
option on
BrowserContext
or
Page
.
|
options.waitUntil | string |
load
|
When to consider operation to have succeeded. See Events for more details. |
Caution
networkidle
is DISCOURAGED. Don’t use this method for testing especially with chatty websites where the event may never fire, rely on web assertions to assess readiness instead.
Events can be either:
'domcontentloaded'
- consider operation to be finished when the
DOMContentLoaded
event is fired.
'load'
- consider operation to be finished when the
load
event is fired.
'networkidle'
- Consider operation to be finished when there are no network connections for at least
500
ms.
Type | Description |
---|---|
Promise<null | Response > |
The
Response
instance associated with the page. Else, it returns
null
|
import { browser } from 'k6/browser';
import { check } from 'https://jslib.k6.io/k6-utils/1.5.0/index.js';
export const options = {
scenarios: {
browser: {
executor: 'shared-iterations',
options: {
browser: {
type: 'chromium',
export default async function () {
const page = await browser.newPage();
try {
await page.goto('https://test.k6.io/my_messages.php');
await page.locator('input[name="login"]').type('admin');
await page.locator('input[name="password"]').type('123');
const submitButton = page.locator('input[type="submit"]');
await Promise.all([
submitButton.click(),
page.waitForNavigation(),
await check(page.locator('h2'), {
header: async h2 => await h2.textContent() == 'Welcome, admin!'
} finally {
await page.close();
}
![]() |
另类的核桃 · 全国党员教育电视片推荐目录五:文艺片_共产党员网 1 年前 |
![]() |
开朗的楼梯 · 造梦西游三哪个角色最好 - 抖音 2 年前 |
![]() |
不敢表白的牛肉面 · 苏珊•桑塔格访谈录:反对后现代主义及其他 2 年前 |
![]() |
深情的馒头 · 如何评价黄渤监制的电影《风平浪静》? - 知乎 2 年前 |