Texts
Records the text contents taken during an Analysis.
version : 1.0.0
stability: stable
Definition
Meta
name : "texts"
Record
The Texts
's record implements the Record
's interface:
interface Record {
url: string;
type: string;
data: string;
trigger: string;
requestId: string;
frameId: string;
targetVersion: string;
timestamp: MonotonicTime;
}
Fields
url
version : 1.0.0
stability: stable
url: string;
The URL of the page gathered when the event occurs.
type
version : 1.0.0
stability: experimental
type: string;
When defined, the type
reports the screenshot's type.
data
version : 1.0.0
stability: experimental
data: string;
The data passed along with the event.
In the
Texts
's context, this field reports the URL where the text is stored.
trigger
version : 1.0.0
stability: experimental
When defined, the trigger
reports the action that creates the Texts
.
requestId
version : 1.0.0
stability: stable
requestId: string;
The unique network Request
's identifier in which the event was recorded.
⚠️ Caution: In some cases such as in a redirection context, this identifier could be shared by more than one entry:
[ { "requestId": "10.1", "status": "302" }, { "requestId": "10.1", "status": "200" } ]
frameId
version : 1.0.0
stability: stable
frameId: string;
The Frame
identifier in which the event was recorded.
targetVersion
version : 1.0.0
stability: stable
targetVersion: string;
The Target
version during which the event was recorded.
timestamp
version : 1.0.0
stability: stable
timestamp: MonotonicTime;
An MonotonicTime
that reflects the time when the event was recorded.
Sample
{
"name": "texts",
"records": [
{
"url": "https://example.com",
"type": "",
"data": "https://s3.amazonaws.com/adsecure/screenshot/year=2018/month=9/day=4/YW5hbHlzaXN8YThiYzk0M2ItNTY3ZS00NzA5LWIwOWItMTI1YmMzNGMxMjUwfDIwMTgtMDktMDI=-0-0.txt",
"trigger": "",
"requestId": "6A84237A55993581955FEBCCBED0D402",
"frameId": "C9FB7BD57BBC8502412B9558A97A580D",
"targetVersion": "8",
"timestamp": "2375.395531"
}
]
}