This PR is a simple change that allows additional capabilities specified in the specflow.actions.json file to be added to the AppiumOptions in SpecFlow.Actions.WindowsAppDriver.
The need for this change arose due to a requirement to pass environment variables to Appium when launching the AUT using WindowsAppDriver.
Now, in the specflow.actions.json file in my test project, I can add additional capabilities, such as the following:
Currently, there is no way to pick up additional capabilities for Appium through the
specflow.actions.json
file.See feature request: Allow additional options for Appium (WindowsAppDriver) to be configured in specflow.actions.json
This PR is a simple change that allows additional capabilities specified in the
specflow.actions.json
file to be added to theAppiumOptions
inSpecFlow.Actions.WindowsAppDriver
.The need for this change arose due to a requirement to pass environment variables to Appium when launching the AUT using WindowsAppDriver.
Now, in the
specflow.actions.json
file in my test project, I can add additional capabilities, such as the following:Added one additional unit test to verify.