Skip to content

Selenium Grid support

Jakub Raczek edited this page Jun 26, 2025 · 14 revisions

For SeleniumGrid, SauceLab, TestingBot and Browserstack support set RemoteWebDriver as a browser, DriverCapabilities and RemoteWebDriverHub in App.config file.

    "browser" :"RemoteWebDriver" ,
    "DriverCapabilities" :"Firefox" ,
    "RemoteWebDriverHub" :"http://localhost:4444/wd/hub" ,

to start Selenium Grid hub and nodes follow the instructions, more details here

You can set any additional DriverCapabilities in app.config, section DriverCapabilities. There you can define what kind capabilties you want to add. Example:

"DriverCapabilities": {
    "project" :"Test.Automation",
    "browserstack.debug" :true ,
    "build" :"Objectivity.Test.Automation.Tests.CloudProviderCrossBrowser" ,
    "browserstack.networkLogs" :true ,
    "browserstack.local" : false,
    "extendedDebugging" : true,
 },

You can run tests on BrowserStack by setting e.g.

    "browser" :"RemoteWebDriver" ,
    "DriverCapabilities" :"Firefox" ,
    "RemoteWebDriverHub" :"http://user:key@hub-cloud.browserstack.com/wd/hub" ,

More details here or use docker compose docker-compose.yml

Clone this wiki locally