Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DemonMartin/node-camoufox
/ functions
Functions
14 in github.com/DemonMartin/node-camoufox
⨍
Functions
14
◇
Types & classes
2
↓ 7 callers
Function
debug
(msg)
example.js:4
↓ 6 callers
Method
#cleanup
* Cleans up server resources * @private
src/CamoufoxServer.js:214
↓ 2 callers
Method
start
* Starts the automation server * @returns {Promise<string>} Resolves with WebSocket endpoint URL * @throws {Error} If server is already runn
src/CamoufoxServer.js:99
↓ 2 callers
Method
stop
* Stops the automation server and closes the browser * @returns {Promise<number>} Resolves with exit code
src/CamoufoxServer.js:177
↓ 1 callers
Function
createDebugLogger
(enabled = false)
src/CamoufoxServer.js:12
↓ 1 callers
Function
load_config
Load server configuration from command line arguments. Returns: dict: Processed configuration dictionary
src/server.py:26
↓ 1 callers
Function
main
Main entry point for the automation server. Loads configuration and launches the server with the specified settings.
src/server.py:46
↓ 1 callers
Function
parse_arguments
Parse command line arguments for server configuration. Returns: argparse.Namespace: Parsed command line arguments
src/server.py:13
↓ 1 callers
Function
runExample
()
example.js:6
↓ 1 callers
Method
setBrowser
* Sets the browser instance for cleanup * @param {import('playwright').Browser} browser - Playwright browser instance
src/CamoufoxServer.js:90
↓ 1 callers
Function
stripAnsi
(str)
src/CamoufoxServer.js:8
Method
constructor
* Creates a new CamoufoxServer instance * @param {ServerOptions} [options={}] - Server configuration options
src/CamoufoxServer.js:62
Method
restart
* Restarts the automation server * @returns {Promise<string>} Resolves with new WebSocket endpoint URL
src/CamoufoxServer.js:224
Method
wsEndpoint
* Get the WebSocket endpoint URL of the running server * @returns {string|null} WebSocket endpoint URL or null if server not running
src/CamoufoxServer.js:82