How do you set ChromeOptions?
You can make your own custom profile by simply running Chrome with the user-data-dir switch set to a new directory (on the command line or using ChromeDriver). ChromeOptions options = new ChromeOptions(); options. addArguments(“user-data-dir=/path/to/your/custom/profile”);