Skip to main content

SET_VISIBLE_SIZE

Constant SET_VISIBLE_SIZE 

Source
pub const SET_VISIBLE_SIZE: &str = "Emulation.setVisibleSize";
Expand description

Resizes the frame/viewport of the page. Note that this does not affect the frame’s container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.

Deprecated in the protocol. Experimental: may change without notice.

Parameters:

  • width: integer
  • height: integer