goenning/typescript-selenium-example

How can use Capabilities setPorxy()?

wenJanus opened this issue · 1 comments

When add setProtxy() some error show:

this.driver = new Builder()
.forBrowser(browserName)
.setPorxy(proxy.shocks(''))
.build();

Error show:
Uncaught WebDriverError: unknown error: cannot parse capability: proxy
from unknown error: proxyType is 'manual' but no manual proxy capabilities were found

Inside https://github.com/goenning/typescript-selenium-example/blob/master/lib/browser.ts you can call any WebDriver method you want. That error seems to be on selenium package, it might be better to ask at the official selenium repository https://github.com/SeleniumHQ/selenium/issues