Skip to content

Commit

Permalink
Add a new page on response event
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 authored and inancgumus committed Feb 24, 2025
1 parent 051d1fe commit 83651a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/js/modules/k6/browser/common/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const (

// EventPageRequestCalled represents the page.on('request') event.
EventPageRequestCalled PageOnEventName = "request"

// EventPageResponseCalled represents the page.on('response') event.
EventPageResponseCalled PageOnEventName = "response"
)

// MediaType represents the type of media to emulate.
Expand Down

0 comments on commit 83651a5

Please sign in to comment.