Skip to main content

Custom capabilities

  • Did you know that you can use your own custom capabilities with SHAFT
driver = new SHAFT.GUI.WebDriver(BrowserType, customOptions);

Example

ChromeOptions options = new ChromeOptions();
options.addArguments("--remote-allow-origins=*");
driver = new SHAFT.GUI.WebDriver(DriverType.CHROME , options);