I am currently having an issue where I am launching a selenium test on an AWS EC2 instance using RemoteWebDriver (headless).
For some strange reason, whenever the browser launches the Microsoft Outlook Web App, it is displaying the light version of the application. In the first screenshot below, the checkbox for 'Use the light version of Outlook Web App' is greyed out and I am not able to deselect it. After doing a login with such settings, the inbox from screenshot 2 appears.
I have tried to force deselect by running a javascript command to force it to be un-greyed, and then clicking on the checkbox, but it still launches the light version after that.
Launched elsewhere, on a VM and on my local machine, the Outlook Web App is the 'normal' version.
The impact from this issue is that the xpath locators and the verification process differs from the 'normal' version of the web app. Thus my scripts fail.
I would like to ask for directions on how to proceed, or if anyone has encountered this issue before?
*note that the screenshot for the login page below was taken from my local machine, which doesn't show the checkbox being greyed out. In the AWS instance, it is.