Skip to content

fix: replace nonexistent wait_until param from playwright page API call#2374

Merged
julianocosta89 merged 5 commits intoopen-telemetry:mainfrom
brylee10:main
Jul 24, 2025
Merged

fix: replace nonexistent wait_until param from playwright page API call#2374
julianocosta89 merged 5 commits intoopen-telemetry:mainfrom
brylee10:main

Conversation

@brylee10
Copy link
Copy Markdown
Contributor

Changes

The Python Playwright 1.53 page.click api does not have the wait_until parameter (docs: https://devdocs.io/playwright/api/class-page#page-click). Instead, it provides a wait_for_load_state function (https://devdocs.io/playwright/api/class-page#page-wait-for-load-state). This adds the wait_for_load_state calls. Without these calls, the API does not wait for the corresponding browser events, as intended.

@brylee10 brylee10 requested a review from a team as a code owner July 21, 2025 01:30
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Jul 21, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@brylee10 brylee10 changed the title fix: remove nonexistent wait_until param from playwright page API call fix: replace nonexistent wait_until param from playwright page API call Jul 21, 2025
Copy link
Copy Markdown
Contributor

@rogercoll rogercoll left a comment

Choose a reason for hiding this comment

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

Thanks! Would you mind adding an entry to the CHANGELOG.md file for this PR?

Copy link
Copy Markdown
Member

@julianocosta89 julianocosta89 left a comment

Choose a reason for hiding this comment

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

Thanks for that!

It looks like this fixes #1800

@brylee10
Copy link
Copy Markdown
Contributor Author

Yes I just updated the CHANGELOG.md

@julianocosta89 julianocosta89 merged commit 848f8be into open-telemetry:main Jul 24, 2025
31 checks passed
rnjn pushed a commit to base-14/opentelemetry-demo that referenced this pull request Jul 28, 2025
…call (open-telemetry#2374)

* fix: remove nonexistent `wait_until` param from playwright page API call

* chore: add playwright `wait_until` fix to change log

* delete trailing space

---------

Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
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.

3 participants