func (p *GetWindowBoundsParams) Do(ctx context.Context) (bounds *Bounds, err error) {
	// execute
	var res GetWindowBoundsReturns
	err = cdp.Execute(ctx, CommandGetWindowBounds, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Bounds, nil
}
func (p *GetWindowBoundsParams) Do(ctx context.Context) (bounds *Bounds, err error) {
	
	var res GetWindowBoundsReturns
	err = cdp.Execute(ctx, CommandGetWindowBounds, p, &res)
	if err != nil {
		return nil, err
	}

	return res.Bounds, nil
}
func ( p * GetWindowBoundsParams ) Do ( ctx context . Context ) ( bounds * Bounds , err error ) { // execute var res GetWindowBoundsReturns err = cdp . Execute ( ctx , CommandGetWindowBounds , p , & res ) if err != nil { return nil , err } return res . Bounds , nil }
// Do executes Browser.getWindowBounds against the provided context.
//
// returns:
//   bounds - Bounds information of the window. When window state is 'minimized', the restored window position and size are returned.
Do executes Browser . getWindowBounds against the provided context . returns : bounds - Bounds information of the window . When window state is minimized the restored window position and size are returned .