2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: FrameAddScriptTagOptions.path
|
|
|
|
---
|
|
|
|
|
|
|
|
# FrameAddScriptTagOptions.path property
|
|
|
|
|
2022-09-01 15:09:57 +00:00
|
|
|
Path to a JavaScript file to be injected into the frame.
|
2022-07-05 13:41:43 +00:00
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface FrameAddScriptTagOptions {
|
|
|
|
path?: string;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
If `path` is a relative path, it is resolved relative to the current working directory (`process.cwd()` in Node.js).
|