Skip to content

chore: require explicit timeout parameter in sendMessage() - #1807

Merged
Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:send-message-timeout
Jun 23, 2025
Merged

chore: require explicit timeout parameter in sendMessage()#1807
Yury Semikhatsky (yury-s) merged 3 commits into
microsoft:mainfrom
yury-s:send-message-timeout

Conversation

@yury-s

Copy link
Copy Markdown
Member

Either NO_TIMEOUT or computed timeout must be provided for each call to sendMessage(method, params, timeout), so that we can leverage compiler support.

@Skn0tt Simon Knott (Skn0tt) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea!

Comment thread playwright/src/main/java/com/microsoft/playwright/impl/APIRequestImpl.java Outdated
@yury-s
Yury Semikhatsky (yury-s) merged commit 859eb9b into microsoft:main Jun 23, 2025
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants