Desired capabilities are not working after upgrade to QAF 4.0.0RC1 with Selenium 4. I have tried below properties:
chrome.additional.capabilities={"chromeOptions":{"args":["--headless=new","--window-size=3000,1080"]}}
driver.additional.capabilities={"chromeOptions":{"args":["--headless=new","--window-size=1920,1080"]}
chrome.additional.capabilities={"goog:chromeOptions":{"args":["--headless=new","--window-size=3000,1080"]}}
driver.additional.capabilities={"goog:chromeOptions":{"args":["--headless=new","--window-size=1920,1080"]}
I have referred below link and the desired capabilities are working for QAF 3.0.1 with Selenium 3. https://qmetry.github.io/qaf/qaf-2.1.15/setting_driver_capabilities.html
Chrome to accept the capabilities.