Module: Browsenator::Remote::Browserstack::ScreenSize
- Defined in:
- lib/browsenator/remote/browserstack/screen_size.rb
Instance Method Summary collapse
Instance Method Details
#screen_resolution(width, height) ⇒ Object
5 6 7 8 9 |
# File 'lib/browsenator/remote/browserstack/screen_size.rb', line 5 def screen_resolution(width, height) width ||= 1024 height ||= 768 "#{width}x#{height}" end |