This is a demo to show how to use bridge mode to control the page on your desktop Chrome.
create .env file
# Replace with your own API key
MIDSCENE_MODEL_BASE_URL="https://.../compatible-mode/v1"
MIDSCENE_MODEL_API_KEY="sk-abcdefghijklmnopqrstuvwxyz"
MIDSCENE_MODEL_NAME="qwen3-vl-plus"
MIDSCENE_MODEL_FAMILY="qwen3-vl"Refer to this document if your want to use other models like Qwen: https://midscenejs.com/model-strategy.html
Install Midscene extension from chrome web store: Midscene
install deps
npm install Remember to click the "Allow connection" button from Chrome extension while running.
npm run demo-new-tabRun demo to connect to the active tab.
npm run demo-current-tabhttps://midscenejs.com/bridge-mode-by-chrome-extension https://midscenejs.com/api