This repository was archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Add page.on
#1006
Merged
Merged
Add page.on
#1006
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
94f312e
Add ConsoleMessage
ka3de a8ef0b4
Add `page.on` method
ka3de ab4594b
Add page.onConsoleAPICalled
ka3de faaea47
Remove nolint:unused for executionContextForID
ka3de 9f30db6
Add k6-taskqueue-lib dependency
ka3de 9e53e88
Use TaskQueue to sync event handlers execution
ka3de 659100c
Add page.on() test
ka3de 774722e
Add mapping for ConsoleMessage
ka3de 5091986
Expose page.on
ka3de 4d7f693
Add page.on test example
ka3de bb4a1f6
Initialize TaskQueue only when page.on() is called
ka3de File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Initialize TaskQueue only when page.on() is called
In this way, we only require users to close the page in order to be able to finish the iteration when page.on() method is used in the test. If page.on() method is not used, the iteration will end normally whether page.close() is called or not.
- Loading branch information
commit bb4a1f621e114cb484fe6d27816f2d3d89b1cfbe
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.