title: Is there a way to test responsive CSS with Selenium?
body: <p>The developers at my company have implemented our website to be CSS responsive, and I am confused how to leverage Selenium to test their work. I have been using Selenium WebDriver (Selenium 2) with Ruby all along for other aspects.</p>
  
  <p>After doing some research online, I came across multiple tools but none worth automating with as they .. aaa... are just web tools to manually check with different screen sizes.</p>
  
  <p>Some examples - </p>
  
  <ol>
  <li><a href="http://tools.hyperspatial.com/web/devices/#form-top">Device Testing for Resonsive CSS Layouts (Manual)</a></li>
  <li><a href="http://www.responsinator.com/">Responsinator</a></li>
  <li><a href="http://responsive.is">Responsive.is</a></li>
  <li><a href="http://responsivepx.com/">Responsivepx</a> (much better as more control)</li>
  </ol>
  
  <p>But I can achieve the above very easily using Selenium as well using sel2/ruby</p>
  
  <pre><code>@driver.manage.window.resize_to(480, 725) #iphone potrait
  </code></pre>
  
  <hr>
  
  <p>Need help with </p>
  
  <ul>
  <li>How to actually test if the css is "responsive" <strong>automatically</strong>?</li>
  <li>What are commonly used attributes/aspects to check if page is responding to window resizing?</li>
  <li>Has anyone used Selenium to QA responsive CSS?</li>
  </ul>