sauce-archives / sauce_ruby

This is the Ruby client adapter for testing with Sauce Labs, a Selenium-based browser testing service (saucelabs.com).
Apache License 2.0
98 stars 115 forks source link

unable to set screen resolution desired cap using sauce_ruby gem #324

Closed bootstraponline closed 9 years ago

bootstraponline commented 9 years ago

How do I set the screen resolution via the sauce_ruby gem? I tried the following and it doesn't work.

Sauce.config do |config|
  # https://docs.saucelabs.com/reference/test-configuration/#specifying-the-screen-resolution
  config[:screenResolution]           = '1280x1024'
bootstraponline commented 9 years ago

This is pretty frustrating since it's breaking my applitools tests.

bootstraponline commented 9 years ago

I think there are multiple problems:

bootstraponline commented 9 years ago

The docs being wrong isn't a ruby issue. The ignoring invalid caps is a client side validation feature request so tracking that here.