Uses of Class
com.microsoft.playwright.Page.AddScriptTagOptions
-
Packages that use Page.AddScriptTagOptions Package Description com.microsoft.playwright -
-
Uses of Page.AddScriptTagOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return Page.AddScriptTagOptions Modifier and Type Method Description Page.AddScriptTagOptionsPage.AddScriptTagOptions. setContent(String content)Raw JavaScript content to be injected into frame.Page.AddScriptTagOptionsPage.AddScriptTagOptions. setPath(Path path)Path to the JavaScript file to be injected into frame.Page.AddScriptTagOptionsPage.AddScriptTagOptions. setType(String type)Script type.Page.AddScriptTagOptionsPage.AddScriptTagOptions. setUrl(String url)URL of a script to be added.Methods in com.microsoft.playwright with parameters of type Page.AddScriptTagOptions Modifier and Type Method Description ElementHandlePage. addScriptTag(Page.AddScriptTagOptions options)Adds a<script>tag into the page with the desired url or content.
-