Rails:Watir中的代理身份validation(Chrome驱动程序)

我试图在chrome webdriver中添加代理身份validation,它在下面的watir上运行:

 require 'watir' proxies = ['--proxy-server=185.264.167.184:63109', '--proxy-auth=username:password'] browser = Watir::Browser.new :chrome, :switches => proxies browser.goto(url) 

当浏览器运行它仍然问我如下的用户名和密码: 在此处输入图像描述

问题是如何在watir上运行的chrome驱动程序中设置用户名和密码?