meteor-webdriver icon indicating copy to clipboard operation
meteor-webdriver copied to clipboard

Default screen resolution is Mobile

Open chompomonim opened this issue 10 years ago • 2 comments

Why default screen resolution is Mobile? Shouldn't it be as some parameter? I was looking for any docs, but didn't found.

chompomonim avatar Apr 04 '15 12:04 chompomonim

You can set it with http://webdriver.io/api/window/setViewportSize.html

ghost avatar Apr 04 '15 13:04 ghost

See an example here

https://github.com/xolvio/meteor-cucumber/blob/master/sample-tests/hooks.js#L14

SamHatoum avatar Apr 05 '15 01:04 SamHatoum