How to pass paramters to Remote Browser in test cases recorded using Selenium Builder

Document ID : KB000011833
Last Modified Date : 14/02/2018
Show Technical Document Details

A test case was created by using Selenium builder on local machine. This test case was being configured to run on a browser in remote machine. 

The choice of browser and the remote server url are being passed to the test case by defining the below properties in config file: 



The remote browser expects a web driver capability, browserstack.local to be set to true.

How to pass this parameter through the test case in DevTest at run time? 


(1) Create a text file and add the line below in it 

(2) Then add the below key/pair as a property in config file: 

Key = selenium.WebDriver.DesiredCapabilities.filePath 
Value = Path to the text file