from selenium import webdriveroptions = webdriver.ChromeOptions()
options.add_argument("--lang=de")
chrome_remote = webdriver.Remote('http://hostname:4444/wd/hub', options.to_capabilities())| Start Google Chrome Remote| | [Arguments] | ${url}| | [Documentation] | Starts Google Chrome browser on Selenium Server Standalone.| | ${options}= | Evaluate | sys.modules['selenium.webdriver'].ChromeOptions() | sys| | Call Method | ${options} | add_argument | --lang\=de # NOTE: important to escape equal sign '\='| | ${options}= | Call Method | ${options} | to_capabilities| | Create WebDriver | Remote | command_executor=http://hostname:4444/wd/hub | desired_capabilities=${options}
| | # NOTE: replace 'hostname' with hastname or IP of your remote machine running the Selenium Server | | Go To | ${url}| | Maximize Browser Window |--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.