|
|
大气的香槟 · 荆州经开区“政、园、企”三方签约活动举行-荆 ...· 1 年前 · |
|
|
大方的水煮鱼 · 哪吒生日太乙真人送豪礼,看到师叔送的礼物后, ...· 2 年前 · |
|
|
正直的大蒜 · 天价宠妻总裁夫人休想逃第五季_头条· 2 年前 · |
|
|
讲道义的热水瓶 · python tkinter ...· 2 年前 · |
|
|
爱健身的钥匙扣 · 大话降龙:太过分了,二郎神托起龙女的下巴,对 ...· 2 年前 · |
| prometheus metrics grafana |
| https://grafana.com/docs/k6/latest/javascript-api/k6-browser/page/waitfornavigation/ |
|
|
有腹肌的大象
5 月前 |
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
networkidleis 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();
}
|
|
正直的大蒜 · 天价宠妻总裁夫人休想逃第五季_头条 2 年前 |