Sometimes when recording a test against a mobile responsive web site, it is useful to be able to record on the local browser (before playing it back against a cloud service such as SauceLabs, Browserstack, etc.). However you want to always record using a specific browser window size.

You can force Rapise to launch the browser at a specific size by creating or changing the built-in web browser profiles to include additional command line parameters. They are different for each of the browsers:

Chrome HTML

--window-size=200,500

Firefox HTML

-width 200 -height 500

Internet Explorer HTML

Unfortunately, IE does not support setting the width/height. However since there are not any mobile browsers based on IE, it is less important than the others.

Article Info
  • Last Updated: 1/30/2018
  • Article ID: KB323
  • Views: 790