How to connect to a anti-detect browser (incogniton) using selenium java

I want to connect to a browser session of this specific anti-detect browser called Incogniton.

It does support selenium browser automation but it only support python. I dont know nothing about python and I only have knowledge in java. So I want to manually open the browser session first then connect selenium to control the driver.

I have tried to follow this tutorial: How To Execute Selenium Scripts On Already Opened Browser with this code but no luck:


public class selenium {
    public static void main(String[] args) throws InterruptedException, IOException {
        System.setProperty("", "C:\\Users\\test\\browser\\117\\win\\chrome.exe"); //this is the dir of the Incogniton's chrome driver

        ChromeOptions options = new ChromeOptions();
        options.setExperimentalOption("debuggerAddress", "");
        WebDriver driver = new ChromeDriver(options);


And its giving me this error

[4540:3448:0927/] :components\enterprise\browser\controller\ Cloud management controller initialization aborted as CBCM is not enabled.

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

So how can I fix this problem and how can I using java with selenium to control the driver even it only support python ?

Heres Incogniton docs about selenium automation:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.