My JSON file is:
specflow.actions.json file
{
"target": {
"defaultTimeout": 60,
"headless": false,
"traceDir": "traces"
}
}
My custom json file I am willing to use for targetting different browsers and OS
{
"BrowserTypes": [
{
"BrowserName": "Chrome",
"OS": [ "Win10_Chrome", "Win11_Chrome", "Mac" ]
},
{
"BrowserName": "Edge",
"OS": [ "Win10_Chrome" ]
},
{
"BrowserName": "Mobile",
"OS": [ "IOS_Chrome", "Android_Chrome" ]
}
],
"DefaultBrowser": [ "Chrome", "Mobile" ],
"DefaultEnvironment": "Demo"
}
I am new to Specflow playwright c# and I want to see how we can achieve Cross bowser testing. I have gone through the document provided at git, but I am unable to tweak the configuration at runtime.
I am expecting to control the configuration at runtime so that the test cases run for the defined browsers at run time