When it comes to Serenity, how can I pass capabilities in Selenium 3?

How to pass capabilities in Selenium 3?

Hello Macy,

You can pass the capabilities as given below:

DesiredCapabilities capabilities = new DesiredCapabilities();
            capabilities.setCapability("platformName", "Windows 10");
            capabilities.setCapability("BrowserVersion", "100");
            capabilities.setCapability("browsername", "chrome");
            capabilities.setCapability("selenium_version","3.13.0");
            capabilities.setCapability("console",true);