typescript-selenium-example icon indicating copy to clipboard operation
typescript-selenium-example copied to clipboard

How can use Capabilities setPorxy()?

Open wenJanus opened this issue 8 years ago • 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

wenJanus avatar Oct 20 '17 09:10 wenJanus

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

goenning avatar Oct 20 '17 17:10 goenning