참고소스 수정본
This commit is contained in:
82
참고/playwright-main/packages/protocol/spec/artifact.yml
Normal file
82
참고/playwright-main/packages/protocol/spec/artifact.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
Artifact:
|
||||
type: interface
|
||||
|
||||
initializer:
|
||||
absolutePath: string
|
||||
|
||||
commands:
|
||||
|
||||
pathAfterFinished:
|
||||
internal: true
|
||||
returns:
|
||||
value: string
|
||||
|
||||
# Blocks path/failure/delete/context.close until saved to the local |path|.
|
||||
saveAs:
|
||||
internal: true
|
||||
parameters:
|
||||
path: string
|
||||
|
||||
# Blocks path/failure/delete/context.close until the stream is closed.
|
||||
saveAsStream:
|
||||
internal: true
|
||||
returns:
|
||||
stream: Stream
|
||||
|
||||
failure:
|
||||
internal: true
|
||||
returns:
|
||||
error: string?
|
||||
|
||||
stream:
|
||||
internal: true
|
||||
returns:
|
||||
stream: Stream
|
||||
|
||||
cancel:
|
||||
internal: true
|
||||
|
||||
delete:
|
||||
internal: true
|
||||
|
||||
Stream:
|
||||
type: interface
|
||||
|
||||
commands:
|
||||
|
||||
read:
|
||||
internal: true
|
||||
parameters:
|
||||
size: int?
|
||||
returns:
|
||||
binary: binary
|
||||
|
||||
close:
|
||||
internal: true
|
||||
|
||||
WritableStream:
|
||||
type: interface
|
||||
|
||||
commands:
|
||||
|
||||
write:
|
||||
internal: true
|
||||
parameters:
|
||||
binary: binary
|
||||
|
||||
close:
|
||||
internal: true
|
||||
Reference in New Issue
Block a user