| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
Page.AddScriptTagOptions |
Page.AddScriptTagOptions.setContent(String content) |
Page.AddScriptTagOptions |
Page.AddScriptTagOptions.setPath(Path path) |
Page.AddScriptTagOptions |
Page.AddScriptTagOptions.setType(String type) |
Page.AddScriptTagOptions |
Page.AddScriptTagOptions.setUrl(String url) |
| Modifier and Type | Method and Description |
|---|---|
ElementHandle |
Page.addScriptTag(Page.AddScriptTagOptions options)
Adds a
<script> tag into the page with the desired url or content. |
Copyright © 2021. All rights reserved.