Validate non-optional parameters and return new instance.
355222
public function build(): SetKeyframeKeyRequest
	{
		$instance = new SetKeyframeKeyRequest();
		if ($this->styleSheetId === null) {
			throw new BuilderException('Property [styleSheetId] is required.');
		}
		$instance->styleSheetId = $this->styleSheetId;
		if ($this->range === null) {
			throw new BuilderException('Property [range] is required.');
		}
		$instance->range = $this->range;
		if ($this->keyText === null) {
			throw new BuilderException('Property [keyText] is required.');
		}
		$instance->keyText = $this->keyText;
		return $instance;
	}
156987
public function build(): AwaitPromiseRequest
	{
		$instance = new AwaitPromiseRequest();
		if ($this->promiseObjectId === null) {
			throw new BuilderException('Property [promiseObjectId] is required.');
		}
		$instance->promiseObjectId = $this->promiseObjectId;
		$instance->returnByValue = $this->returnByValue;
		$instance->generatePreview = $this->generatePreview;
		return $instance;
	}
860933
public function build(): SetExtraHTTPHeadersRequest
	{
		$instance = new SetExtraHTTPHeadersRequest();
		if ($this->headers === null) {
			throw new BuilderException('Property [headers] is required.');
		}
		$instance->headers = $this->headers;
		return $instance;
	}
499426
public function build(): BindRequest
	{
		$instance = new BindRequest();
		if ($this->port === null) {
			throw new BuilderException('Property [port] is required.');
		}
		$instance->port = $this->port;
		return $instance;
	}
598115
public function build(): ContinueWithAuthRequest
	{
		$instance = new ContinueWithAuthRequest();
		if ($this->requestId === null) {
			throw new BuilderException('Property [requestId] is required.');
		}
		$instance->requestId = $this->requestId;
		if ($this->authChallengeResponse === null) {
			throw new BuilderException('Property [authChallengeResponse] is required.');
		}
		$instance->authChallengeResponse = $this->authChallengeResponse;
		return $instance;
	}
989298
public function build(): AddBindingRequest
	{
		$instance = new AddBindingRequest();
		if ($this->name === null) {
			throw new BuilderException('Property [name] is required.');
		}
		$instance->name = $this->name;
		$instance->executionContextId = $this->executionContextId;
		return $instance;
	}
533158
public function build(): QueryObjectsRequest
	{
		$instance = new QueryObjectsRequest();
		if ($this->prototypeObjectId === null) {
			throw new BuilderException('Property [prototypeObjectId] is required.');
		}
		$instance->prototypeObjectId = $this->prototypeObjectId;
		$instance->objectGroup = $this->objectGroup;
		return $instance;
	}
686539
public function build(): GetBackgroundColorsRequest
	{
		$instance = new GetBackgroundColorsRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		return $instance;
	}
519354
public function build(): SetPauseOnExceptionsRequest
	{
		$instance = new SetPauseOnExceptionsRequest();
		if ($this->state === null) {
			throw new BuilderException('Property [state] is required.');
		}
		$instance->state = $this->state;
		return $instance;
	}
248829
public function build(): GetWindowBoundsRequest
	{
		$instance = new GetWindowBoundsRequest();
		if ($this->windowId === null) {
			throw new BuilderException('Property [windowId] is required.');
		}
		$instance->windowId = $this->windowId;
		return $instance;
	}
311343
public function build(): SendMessageToTargetRequest
	{
		$instance = new SendMessageToTargetRequest();
		if ($this->message === null) {
			throw new BuilderException('Property [message] is required.');
		}
		$instance->message = $this->message;
		$instance->sessionId = $this->sessionId;
		$instance->targetId = $this->targetId;
		return $instance;
	}
111911
public function build(): SetNodeNameRequest
	{
		$instance = new SetNodeNameRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		if ($this->name === null) {
			throw new BuilderException('Property [name] is required.');
		}
		$instance->name = $this->name;
		return $instance;
	}
420272
public function build(): SetCacheDisabledRequest
	{
		$instance = new SetCacheDisabledRequest();
		if ($this->cacheDisabled === null) {
			throw new BuilderException('Property [cacheDisabled] is required.');
		}
		$instance->cacheDisabled = $this->cacheDisabled;
		return $instance;
	}
941659
public function build(): ReleaseObjectRequest
	{
		$instance = new ReleaseObjectRequest();
		if ($this->objectId === null) {
			throw new BuilderException('Property [objectId] is required.');
		}
		$instance->objectId = $this->objectId;
		return $instance;
	}
412275
public function build(): SetRequestInterceptionRequest
	{
		$instance = new SetRequestInterceptionRequest();
		if ($this->patterns === null) {
			throw new BuilderException('Property [patterns] is required.');
		}
		$instance->patterns = $this->patterns;
		return $instance;
	}
791779
public function build(): GetSearchResultsRequest
	{
		$instance = new GetSearchResultsRequest();
		if ($this->searchId === null) {
			throw new BuilderException('Property [searchId] is required.');
		}
		$instance->searchId = $this->searchId;
		if ($this->fromIndex === null) {
			throw new BuilderException('Property [fromIndex] is required.');
		}
		$instance->fromIndex = $this->fromIndex;
		if ($this->toIndex === null) {
			throw new BuilderException('Property [toIndex] is required.');
		}
		$instance->toIndex = $this->toIndex;
		return $instance;
	}
1299295
public function build(): QuerySelectorRequest
	{
		$instance = new QuerySelectorRequest();
		if ($this->nodeId === null) {
			throw new BuilderException('Property [nodeId] is required.');
		}
		$instance->nodeId = $this->nodeId;
		if ($this->selector === null) {
			throw new BuilderException('Property [selector] is required.');
		}
		$instance->selector = $this->selector;
		return $instance;
	}