[GH-ISSUE #14] TypeError: Cannot destructure property 'textBits' when using Selenium Plugin with SillyTavern 1.17.0 #10

Open
opened 2026-10-15 18:08:17 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @nanaka050 on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-WebSearch-Selenium/issues/14

Hi! First of all, I'm not very tech savvy, so I might have done something wrong during the plugin installation/configuration.

I’m having an issue using the SillyTavern-WebSearch-Selenium plugin with the latest SillyTavern release.

Here is what I did so far:
Enabled server plugins in config.yaml: enableServerPlugins: true

In the plugins directory of SillyTavern, I ran:
git clone https://github.com/SillyTavern/SillyTavern-WebSearch-Selenium
cd SillyTavern-WebSearch-Selenium
npm install
npm run build

Restarted the SillyTavern server.
I enabled the Web Search extension in the UI and selected "Selenium Plugin" as the source.
Triggered a web search from the chat - any query gives the same result:

Image

From the model side (tool-calling logs), the WebSearch tool itself is correctly registered and invoked, but the returned object seems to be missing the textBits field that SillyTavern 1.17.0 expects. Because of that, ST fails before any web content reaches the model.

Image

I restarted SillyTavern server and tried multiple times after installation and build - it still gives the same error.
Does anyone know what the issue is?

Edit: I changed the "headless" variable to "false" and did the Captcha manually (I though that was the issue) - it still gives the same error and the logs look like this:

Image
Originally created by @nanaka050 on GitHub (Apr 24, 2026). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-WebSearch-Selenium/issues/14 Hi! First of all, I'm not very tech savvy, so I might have done something wrong during the plugin installation/configuration. I’m having an issue using the SillyTavern-WebSearch-Selenium plugin with the latest SillyTavern release. Here is what I did so far: Enabled server plugins in config.yaml: enableServerPlugins: true In the plugins directory of SillyTavern, I ran: git clone https://github.com/SillyTavern/SillyTavern-WebSearch-Selenium cd SillyTavern-WebSearch-Selenium npm install npm run build Restarted the SillyTavern server. I enabled the Web Search extension in the UI and selected "Selenium Plugin" as the source. Triggered a web search from the chat - any query gives the same result: <img width="946" height="254" alt="Image" src="https://github.com/user-attachments/assets/4aaf5c82-4808-45b1-83f4-2000d3fe70a4" /> From the model side (tool-calling logs), the WebSearch tool itself is correctly registered and invoked, but the returned object seems to be missing the textBits field that SillyTavern 1.17.0 expects. Because of that, ST fails before any web content reaches the model. <img width="984" height="516" alt="Image" src="https://github.com/user-attachments/assets/d58e7b7b-5e02-4697-a161-54375afadee1" /> I restarted SillyTavern server and tried multiple times after installation and build - it still gives the same error. Does anyone know what the issue is? Edit: I changed the "headless" variable to "false" and did the Captcha manually (I though that was the issue) - it still gives the same error and the logs look like this: <img width="1639" height="409" alt="Image" src="https://github.com/user-attachments/assets/066df681-080a-4a47-8f6c-e0bbf7bcacad" />
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-WebSearch-Selenium#10
No description provided.