0

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.

Mate Mrše
  • 7,997
  • 10
  • 40
  • 77

1 Answers1

0

Most likely because of known bug. It has been fixed and should be available in next release. You can try 4.0.0-SNAPSHOT from https://oss.sonatype.org/content/repositories/snapshots/ to make sure that issue is because of that bug.

user861594
  • 5,733
  • 3
  • 29
  • 45
  • Hi @user861594, How do I get access to the snapshot? – Renish K.R Aug 24 '23 at 01:38
  • you need to add snapshot repository entry in dependency management file (in pom.xml if using maven, ivy.xml if using ivy). BTW 4.0.0-RC2 is released and available in maven central repository. – user861594 Aug 27 '23 at 07:10