debugger/debugger.go
func (p *RestartFrameParams) Do(ctx context.Context) (callFrames []*CallFrame, asyncStackTrace *runtime.StackTrace, asyncStackTraceID *runtime.StackTraceID, err error) {
	// execute
	var res RestartFrameReturns
	err = cdp.Execute(ctx, CommandRestartFrame, p, &res)
	if err != nil {
		return nil, nil, nil, err
	}

	return res.CallFrames, res.AsyncStackTrace, res.AsyncStackTraceID, nil
}
func (p *RestartFrameParams) Do(ctx context.Context) (callFrames []*CallFrame, asyncStackTrace *runtime.StackTrace, asyncStackTraceID *runtime.StackTraceID, err error) {
	// execute
	var res RestartFrameReturns
	err = cdp.Execute(ctx, CommandRestartFrame, p, &res)
	if err != nil {
		return nil, nil, nil, err
	}

	return res.CallFrames, res.AsyncStackTrace, res.AsyncStackTraceID, nil
}
// Do executes Debugger.restartFrame against the provided context.
//
// returns:
//   callFrames - New stack trace.
//   asyncStackTrace - Async stack trace, if any.
//   asyncStackTraceID - Async stack trace, if any.