Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post_message(message) is causing duplicate posts in CDP Mode #3563

Closed
mdmintz opened this issue Feb 24, 2025 · 1 comment · Fixed by #3564
Closed

post_message(message) is causing duplicate posts in CDP Mode #3563

mdmintz opened this issue Feb 24, 2025 · 1 comment · Fixed by #3564
Assignees
Labels
bug Uh oh... Something needs to be fixed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@mdmintz
Copy link
Member

mdmintz commented Feb 24, 2025

post_message(message) is causing duplicate posts in CDP Mode.

Eg. sb.post_message("SeleniumBase wasn't detected")

sb.post_message("SeleniumBase wasn't detected", duration=4)

Image

Appears to be caused by TypeError: cannot unpack non-iterable NoneType object.

Since the message succeeds (even with TypeError) the error could possibly be ignored.

@mdmintz mdmintz added bug Uh oh... Something needs to be fixed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Feb 24, 2025
@mdmintz mdmintz self-assigned this Feb 24, 2025
@mdmintz mdmintz changed the title sb.post_message(message) is causing duplicate posts in CDP Mode post_message(message) is causing duplicate posts in CDP Mode Feb 24, 2025
@mdmintz
Copy link
Member Author

mdmintz commented Feb 24, 2025

This was resolved in 4.35.1 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.35.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh oh... Something needs to be fixed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant