jonhoo / fantoccini

A high-level API for programmatically interacting with web pages through WebDriver.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify options for webdriver?

ksubox opened this issue · comments

commented

Hello,
I need to connect to existing instance of Chrome over Chromedriver.
So I need to specify debuggerAddress = "127.0.0.1:xxxx".
Could you tell me how to do this?

Actually I need something like that in Java:

ChromeOptions options = new ChromeOptions();
options.setExperimentalOption(“debuggerAddress”,”localhost:9595“);
ChromeDriver driver = new ChromeDriver(options);

You should be able to include those via capabilities is my guess, which you can set using ClientBuilder::capabilities.