Add browser script bridge workflow example#356
Conversation
|
@louis030195 please review and comment so I can know changes to make |
|
provide a video in the .md (not a zip) |
@louis030195 the file is >10mb and i am on github free will not allow that |
@louis030195 done |
|
@louis030195 also chrome actually opened in the video but the video does not show it because o how windows game bar works |
|
i dont see any browser in ur video |
|
https://github.com/mediar-ai/terminator/actions i partially did the task actually using rust if you can make this work - somehow the github action fails, idk why need to make sure
but it would be much better to have this as a TS workflow using our SDK, which would give us a good base to increase coverage of our whole ecosystem using our own product PS: you can just drop the mp4 in the markdown ui github and it will embed the video (or click the button at the bottom to select a file when creating a comment) |
https://github.com/tribhuwan-kumar/terminator/actions/runs/19317760270/job/55252595215 # swtich to bun instead of node
npm install -g bun
cd packages/terminator-nodejs
bun "../../.github/scripts/test-extension-bridge.js"
also we should switch to bun instead of node cause node sometimes fails to load packages and throws the |
|
@tribhuwan-kumar can u approve workflow so i can see my own ci too |
2025-11-13.03-10-32.mp4@louis030195 here is updated video |
|
@louis030195 also can u please approve workflow also ? |
096b015 to
58e705e
Compare
|
@louis030195 please re-review |
|
@louis030195 any updates ? |
|
is it workijg in gh action? chec kthis tool |
|
@louis030195 when running the github action, I will have to disable Node js tests because it is failing currently and won't allow the browser script to run |
|
@louis030195 it did not work unfortunately
Default image and other options can be changed manually in C:\Users\USER\AppData\Local\act\actrc (please refer to https://nektosact.com/usage/index.html?highlight=configur#configuration-file for additional information about file structure) Medium i will create a pr to make the checks pass so mey browserscript can run |
there are some issue in browser script that need to be addressed, i've tried it yesterday, its keeps failing cause the issues in browser script workflow |
@tribhuwan-kumar please give me more details because it runs successfully locally |
9b3c093 to
bfb9cf2
Compare
c9aa51e to
7c8eea7
Compare
|
@louis030195 it runs in the CI but fails due to missing extension (unrelated changes) |
All of this is done |
|
@louis030195 please re-review |
2025-11-13.03-10-32.mp4@louis030195 here is updated video |


Description
Added a comprehensive TypeScript workflow example that tests the Terminator browser script bridge functionality across various scenarios including basic execution, error handling, and retry logic.
What it covers
Usage
This serves as both documentation and integration testing for the browser script bridge, ensuring reliable Chrome extension functionality.
Type of Change
Video Demo (Recommended)
2025-11-13.03-10-32.mp4
AI Review & Code Quality
Checklist
Additional Notes
/fixes #353
/claim #353