Can I pass the Chrome options with Ruby-Test Unit?
Hi Mark,
You can pass the Chrome options in Ruby as shown below:
caps = Selenium::WebDriver::Remote::Capabilities.chrome
caps["chromeOptions"] = {}
caps["chromeOptions"]["args"] = ["incognito"]
Can I pass the Chrome options with Ruby-Test Unit?
Hi Mark,
You can pass the Chrome options in Ruby as shown below:
caps = Selenium::WebDriver::Remote::Capabilities.chrome
caps["chromeOptions"] = {}
caps["chromeOptions"]["args"] = ["incognito"]