How can I enable variations in Chrome from chromedriver options?
Hello, I’m facing a problem with Chrome where when I run an automated UI test with chromedriver, there’s issues showing up (such as header is too high which covers other elements) but if I manually open up Chrome and perform the UI tests manually, the issues aren’t there (the header looks correct).
I opened up chrome://version for both browsers and saw that the instance from automation does not have Variations listed, while the manual run had Variations listed.
I tried adding options.addArgument(“–reset-variation-state) in hopes that it would enable it but it did not do anything.
I’ll attach some screenshots
This is chrome without Variations