MCPcopy Create free account
hub / github.com/DemonMartin/node-camoufox / main

Function main

src/server.py:46–70  ·  view source on GitHub ↗

Main entry point for the automation server. Loads configuration and launches the server with the specified settings.

()

Source from the content-addressed store, hash-verified

44
45
46def main():
47 """
48 Main entry point for the automation server.
49
50 Loads configuration and launches the server with the specified settings.
51 """
52 config = load_config()
53
54 launch_server(
55 # Browser configuration
56 headless=config.get('headless', True),
57 geoip=config.get('geoip', True),
58 proxy=config.get('proxy'),
59
60 # Behavior configuration
61 humanize=config.get('humanize', True),
62 showcursor=config.get('showcursor', True),
63
64 # Performance settings
65 block_images=config.get('blockImages', False),
66
67 # Feature settings
68 main_world_eval=config.get('mainWorldEval', True),
69 debug=config.get('debug', False)
70 )
71
72
73if __name__ == "__main__":

Callers 1

server.pyFile · 0.85

Calls 1

load_configFunction · 0.85

Tested by

no test coverage detected