MediaUse Docs
Browser
Install Chrome, auto-detect local browser, connect by CDP, and close session/browser.
1) Install latest Chrome
Install browser runtime with one command.
mediause install2) Auto detect local Chrome
If Chrome is already installed, MediaUse auto-discovers it when running login/account commands.
mediause auth login xiaohongshu3) Connect to running browser via CDP
Use --cdp on auth login or use account.
# login with an already started browser mediause auth login xiaohongshu --cdp http://127.0.0.1:9222 # bind account context with existing browser mediause use account xiaohongshu:account_id --policy balanced --cdp http://127.0.0.1:9222
4) Exit session and browser
Close current active session/browser context.
mediause close --json