(I debated between posting this here, ServerFault, and StackOverFlow. Settled for this. Hopefully it's in the right place.)
We run our UI testing suite using Selenium Grid 2 with an Amazon EC2 Windows machine (that is started up in using Amazon's CloudFormation APIs). My question is, how do I change the resolution of that machine?
If I remote into it, I can specify the resolution using Remote Desktop. But obviously that doesn't permanently change the resolution. When we run our tests, the resolution is so small that the browser scrunches the elements together and causes the tests to fail.
Any ideas? Is there something I can put in the CloudFormation recipe? Is there something I can do to the image before creating the AMI?