Skip to content

Conversation

DeepanshKhurana
Copy link

@DeepanshKhurana DeepanshKhurana commented Sep 26, 2025

Fixes #137

This enables usage of JS injection for additional buttons without breaking functionality for those buttons or the send button. This also opens up a potential plugin buttons approach where a user could choose if they want to include more buttons (this is more a suggestion). But mostly, this makes things more customisable for advanced users.

…ic <button>

This enables usage of JS injection for additional buttons without breaking functionality for those buttons or the send button. This also opens up a potential plugin buttons approach where a user could choose if they want to include more buttons (this is more a suggestion).
self.loc_input_container = self.loc.locator("> shiny-chat-input")
self.loc_input = self.loc_input_container.locator("textarea")
self.loc_input_button = self.loc_input_container.locator("button")
self.loc_input_button = self.loc_input_container.locator("button.chat-send-button")
Copy link
Author

Choose a reason for hiding this comment

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

I couldn't find an equivalent test for R but I figured it makes sense to repair the Python test.

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.

Chat send button behavior affects other (injected) buttons due to non-specific selector

1 participant