tebeka / selenium

Selenium/Webdriver client for Go
MIT License
2.51k stars 410 forks source link

add SetW3CCompatibility toggle #294

Open romainmenke opened 2 years ago

romainmenke commented 2 years ago

Currently it is non-obvious how to get wd.w3cCompatible to be false. This happens magically during capabilities parsing.

This change adds an explicit setter to toggle wd.w3cCompatible.

This config is needed because not all remotes behave nicely. Being able to manually set wd.w3cCompatible to false is an escape hatch for issues with remotes.