How to add Selenium Arg. in addition to chrome arg

Selenoid example. Create file (for example test.py) and paste this:

from selenium import webdriver

firefox_options = webdriver.firefox.options.Options()
firefox_options.set_preference("devtools.toolbox.footer.height", 0)
firefox_options.set_preference("devtools.netmonitor.persistlog", True)
firefox_options.set_preference("devtools.toolbox.selectedTool", "netmonitor")
firefox_options.add_argument("--devtools")
firefox_options.add_argument("--profile")
firefox_options.add_argument("./Temp/profile")


capabilities = firefox_options.to_capabilities()

capabilities["browserName"] = "firefox"
capabilities["version"] = "71.0"
capabilities["platform"] = "LINUX"
capabilities["enableVNC"] = True

Then, in your test you add test.py as a variable file in settings, so there will be variable ${capabilites} set in RF

Variables test.py

After that in your test add the following line:
Create Webdriver Remote command_executor=http://your_selenoid_host:your_selenoid_port/wd/hub desired_capabilities=${capabilities}

This example is for Firefox browser custom profile, but you can easily convert it for Chrome

P.S. Formatter here eating space between Create Rebdriver and Remote, please note that it’s driver type, not a keyword