Skip to content

Arguments

SamuelLouf edited this page Sep 8, 2024 · 2 revisions

You can now launch PyBrowser with arguments.

Arguments

To launch PyBrowser with arguments, you need to use py PyBrowser.py or python3 PyBrowser.py (depending on if you're using Windows or Linux/MacOS) then add --[your argument]=[an eventual value].

Argument Description Usage Exemple
Color The --color argument changes the Browser Window's color. [py/python3] PyBrowser.py --color=[your hex color] [py/python3] PyBrowser.py --color=abcdef
Language The --language argument changes the Browser Window's language. [py/python3] PyBrowser.py --language=[your language's first two letters] [py/python3] PyBrowser.py --language=en
Private The --private argument switches the Browser Window to Private Navigation mode. [py/python3] PyBrowser.py --private [py/python3] PyBrowser.py --private
Size The --size argument changes the Browser Window's size. [py/python3] PyBrowser.py --size=[your desired width]x[your desired height] [py/python3] PyBrowser.py --size=1080x720
Menu Bar The --menubar argument changes the Browser Window's menu bar. [py/python3] PyBrowser.py --size[url/path of the desired JSON file] [py/python3] PyBrowser.py --size=menubar.json

Clone this wiki locally