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