serenity-bdd / serenity-cucumber-starter

A skeleton project for Serenity BDD and Cucumber JVM
Apache License 2.0
178 stars 280 forks source link

webdriver.remote.os=WINDOWS not working in Serenity 3.4.3 #111

Open rockk51 opened 1 year ago

rockk51 commented 1 year ago

Serenity version 3.4.3 I am trying to run serenity provided webdriver in selenium grid hosted in my organisation machine and trying set the remote os platform as WINDOWS using webdriver.remote.os=WINDOWS not working in serenity.properties file but everytime the remote webdriver goes to Linux OS (we have both OS in host machine).

I tried doing the same through azure pipeline using -Dwebdriver.remote.os=WINDOWS but this is also not making any difference. If I use RemoteWebDriver instance with capability as cap.setPlatform(Platform.WINDOWS); it works. Also there is no Error in the logs. Could you plz help?