kgress / scaffold

A Java based Selenium WebDriver abstraction
MIT License
4 stars 7 forks source link

Chrome browser versions older than 75 should set an experimental option for W3C compliance #67

Open kgress opened 4 years ago

kgress commented 4 years ago

Summary

With the recent Sauce W3C compliance tickets being merged in, we should also account for compliance on Chrome browsers versions older than 75. Per the W3C compliance documentation from Sauce:

For tests on Google Chrome version 74 or lower, the W3C capability must be set as an experimental option. ChromeDriver version 75 runs in W3C standard compliant mode by default, so setting this capability won't be necessary in the future.

The option for enabling this is:

chOpts.setExperimentalOption("w3c", true);

A/C