Skip to content

Commit

Permalink
Update page on mapping test to use PageOnEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Oct 10, 2024
1 parent dab04d6 commit 16a650a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ type pageAPI interface {
IsVisible(selector string, opts sobek.Value) (bool, error)
Locator(selector string, opts sobek.Value) *common.Locator
MainFrame() *common.Frame
On(event string, handler func(common.PageOnEvent) error) error
On(event common.PageOnEventName, handler func(common.PageOnEvent) error) error
Opener() pageAPI
Press(selector string, key string, opts sobek.Value) error
Query(selector string) (*common.ElementHandle, error)
Expand Down

0 comments on commit 16a650a

Please sign in to comment.