rea-agents
Preparing search index...
browser/CdpElectronScripts
captureElectronScripts
Function captureElectronScripts
captureElectronScripts
(
input
:
ElectronScriptCaptureInput
,
)
:
Promise
<
{
items
:
{
cdp_hash
:
string
;
file_path
:
string
;
frame_id
:
string
|
null
;
is_module
:
boolean
;
language
:
string
|
null
;
length
:
number
;
script_key
:
string
;
source
:
|
{
included
:
false
;
reason
:
string
}
|
{
artifact
:
{
bytes
:
number
;
charset
:
"utf-8"
;
media_type
:
string
;
sha256
:
string
;
text
:
string
;
uri
:
string
;
}
;
included
:
true
;
}
;
}
[]
;
total
:
number
;
}
,
>
Normalize root-confined script metadata and optionally approved source.
Parameters
input
:
ElectronScriptCaptureInput
Returns
Promise
<
{
items
:
{
cdp_hash
:
string
;
file_path
:
string
;
frame_id
:
string
|
null
;
is_module
:
boolean
;
language
:
string
|
null
;
length
:
number
;
script_key
:
string
;
source
:
|
{
included
:
false
;
reason
:
string
}
|
{
artifact
:
{
bytes
:
number
;
charset
:
"utf-8"
;
media_type
:
string
;
sha256
:
string
;
text
:
string
;
uri
:
string
;
}
;
included
:
true
;
}
;
}
[]
;
total
:
number
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rea-agents
Loading...
Normalize root-confined script metadata and optionally approved source.