A B C D E F G H I J K L M N O P Q R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort() - Method in interface com.microsoft.playwright.Route
-
Aborts the route's request.
- abort(String) - Method in interface com.microsoft.playwright.Route
-
Aborts the route's request.
- ABORT - com.microsoft.playwright.options.HarNotFound
- accept() - Method in interface com.microsoft.playwright.Dialog
-
Returns when the dialog has been accepted.
- accept(String) - Method in interface com.microsoft.playwright.Dialog
-
Returns when the dialog has been accepted.
- acceptDownloads - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to automatically download all the attachments.
- acceptDownloads - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to automatically download all the attachments.
- acceptDownloads - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to automatically download all the attachments.
- accuracy - Variable in class com.microsoft.playwright.options.Geolocation
-
Non-negative accuracy value.
- ACTIVE - com.microsoft.playwright.options.ForcedColors
- addCookies(List<Cookie>) - Method in interface com.microsoft.playwright.BrowserContext
-
Adds cookies into this browser context.
- addInitScript(String) - Method in interface com.microsoft.playwright.BrowserContext
-
Adds a script which would be evaluated in one of the following scenarios: Whenever a page is created in the browser context or is navigated. Whenever a child frame is attached or navigated in any page in the browser context.
- addInitScript(String) - Method in interface com.microsoft.playwright.Page
-
Adds a script which would be evaluated in one of the following scenarios: Whenever the page is navigated. Whenever the child frame is attached or navigated.
- addInitScript(Path) - Method in interface com.microsoft.playwright.BrowserContext
-
Adds a script which would be evaluated in one of the following scenarios: Whenever a page is created in the browser context or is navigated. Whenever a child frame is attached or navigated in any page in the browser context.
- addInitScript(Path) - Method in interface com.microsoft.playwright.Page
-
Adds a script which would be evaluated in one of the following scenarios: Whenever the page is navigated. Whenever the child frame is attached or navigated.
- addLocatorHandler(Locator, Consumer<Locator>) - Method in interface com.microsoft.playwright.Page
-
When testing a web page, sometimes unexpected overlays like a "Sign up" dialog appear and block actions you want to automate, e.g. clicking a button.
- addLocatorHandler(Locator, Consumer<Locator>, Page.AddLocatorHandlerOptions) - Method in interface com.microsoft.playwright.Page
-
When testing a web page, sometimes unexpected overlays like a "Sign up" dialog appear and block actions you want to automate, e.g. clicking a button.
- AddLocatorHandlerOptions() - Constructor for class com.microsoft.playwright.Page.AddLocatorHandlerOptions
- addScriptTag() - Method in interface com.microsoft.playwright.Frame
-
Returns the added tag when the script's onload fires or when the script content was injected into frame.
- addScriptTag() - Method in interface com.microsoft.playwright.Page
-
Adds a
<script>
tag into the page with the desired url or content. - addScriptTag(Frame.AddScriptTagOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns the added tag when the script's onload fires or when the script content was injected into frame.
- addScriptTag(Page.AddScriptTagOptions) - Method in interface com.microsoft.playwright.Page
-
Adds a
<script>
tag into the page with the desired url or content. - AddScriptTagOptions() - Constructor for class com.microsoft.playwright.Frame.AddScriptTagOptions
- AddScriptTagOptions() - Constructor for class com.microsoft.playwright.Page.AddScriptTagOptions
- addStyleTag() - Method in interface com.microsoft.playwright.Frame
-
Returns the added tag when the stylesheet's onload fires or when the CSS content was injected into frame.
- addStyleTag() - Method in interface com.microsoft.playwright.Page
-
Adds a
<link rel="stylesheet">
tag into the page with the desired url or a<style type="text/css">
tag with the content. - addStyleTag(Frame.AddStyleTagOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns the added tag when the stylesheet's onload fires or when the CSS content was injected into frame.
- addStyleTag(Page.AddStyleTagOptions) - Method in interface com.microsoft.playwright.Page
-
Adds a
<link rel="stylesheet">
tag into the page with the desired url or a<style type="text/css">
tag with the content. - AddStyleTagOptions() - Constructor for class com.microsoft.playwright.Frame.AddStyleTagOptions
- AddStyleTagOptions() - Constructor for class com.microsoft.playwright.Page.AddStyleTagOptions
- afterAll(ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.APIRequestContextExtension
- afterAll(ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.BrowserExtension
- afterAll(ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.OptionsExtension
- ALERT - com.microsoft.playwright.options.AriaRole
- ALERTDIALOG - com.microsoft.playwright.options.AriaRole
- all() - Method in interface com.microsoft.playwright.Locator
-
When the locator points to a list of elements, this returns an array of locators, pointing to their respective elements.
- allHeaders() - Method in interface com.microsoft.playwright.Request
-
An object with all the request HTTP headers associated with this request.
- allHeaders() - Method in interface com.microsoft.playwright.Response
-
An object with all the response HTTP headers associated with this response.
- allInnerTexts() - Method in interface com.microsoft.playwright.Locator
-
Returns an array of
node.innerText
values for all matching nodes. - ALLOW - com.microsoft.playwright.options.ScreenshotAnimations
- ALLOW - com.microsoft.playwright.options.ServiceWorkerPolicy
- allTextContents() - Method in interface com.microsoft.playwright.Locator
-
Returns an array of
node.textContent
values for all matching nodes. - ALT - com.microsoft.playwright.options.KeyboardModifier
- ALWAYS - com.microsoft.playwright.options.HttpCredentialsSend
- and(Locator) - Method in interface com.microsoft.playwright.Locator
-
Creates a locator that matches both this locator and the argument locator.
- animations - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
When set to
"disabled"
, stops CSS animations, CSS transitions and Web Animations. - animations - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
When set to
"disabled"
, stops CSS animations, CSS transitions and Web Animations. - animations - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
When set to
"disabled"
, stops CSS animations, CSS transitions and Web Animations. - APIRequest - Interface in com.microsoft.playwright
-
Exposes API that can be used for the Web API testing.
- APIRequest.NewContextOptions - Class in com.microsoft.playwright
- APIRequestContext - Interface in com.microsoft.playwright
-
This API is used for the Web API testing.
- APIRequestContext.DisposeOptions - Class in com.microsoft.playwright
- APIRequestContext.StorageStateOptions - Class in com.microsoft.playwright
- APIRequestContextExtension - Class in com.microsoft.playwright.impl.junit
- APIRequestContextExtension() - Constructor for class com.microsoft.playwright.impl.junit.APIRequestContextExtension
- apiRequestOptions - Variable in class com.microsoft.playwright.junit.Options
- APIResponse - Interface in com.microsoft.playwright
-
APIResponse
class represents responses returned byAPIRequestContext.get()
and similar methods. - APIResponseAssertions - Interface in com.microsoft.playwright.assertions
-
The
APIResponseAssertions
class provides assertion methods that can be used to make assertions about theAPIResponse
in the tests. - append(String, boolean) - Method in interface com.microsoft.playwright.options.FormData
-
Appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
- append(String, int) - Method in interface com.microsoft.playwright.options.FormData
-
Appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
- append(String, FilePayload) - Method in interface com.microsoft.playwright.options.FormData
-
Appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
- append(String, String) - Method in interface com.microsoft.playwright.options.FormData
-
Appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
- append(String, Path) - Method in interface com.microsoft.playwright.options.FormData
-
Appends a new value onto an existing key inside a FormData object, or adds the key if it does not already exist.
- APPLICATION - com.microsoft.playwright.options.AriaRole
- args - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
NOTE: Use custom browser args at your own risk, as some of them may break Playwright functionality.
- args - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
NOTE: Use custom browser args at your own risk, as some of them may break Playwright functionality.
- args() - Method in interface com.microsoft.playwright.ConsoleMessage
-
List of arguments passed to a
console
function call. - AriaRole - Enum in com.microsoft.playwright.options
- ARTICLE - com.microsoft.playwright.options.AriaRole
- asElement() - Method in interface com.microsoft.playwright.JSHandle
-
Returns either
null
or the object handle itself, if the object handle is an instance ofElementHandle
. - assertThat(APIResponse) - Static method in interface com.microsoft.playwright.assertions.PlaywrightAssertions
-
Creates a
APIResponseAssertions
object for the givenAPIResponse
. - assertThat(Locator) - Static method in interface com.microsoft.playwright.assertions.PlaywrightAssertions
-
Creates a
LocatorAssertions
object for the givenLocator
. - assertThat(Page) - Static method in interface com.microsoft.playwright.assertions.PlaywrightAssertions
-
Creates a
PageAssertions
object for the givenPage
. - ATTACH - com.microsoft.playwright.options.HarContentPolicy
- ATTACH - com.microsoft.playwright.options.RouteFromHarUpdateContentPolicy
- attached - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsAttachedOptions
- ATTACHED - com.microsoft.playwright.options.WaitForSelectorState
B
- backgroundPages() - Method in interface com.microsoft.playwright.BrowserContext
-
NOTE: Background pages are only supported on Chromium-based browsers.
- BANNER - com.microsoft.playwright.options.AriaRole
- baseUrl - Variable in class com.microsoft.playwright.junit.Options
- baseURL - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Methods like
APIRequestContext.get()
take the base URL into consideration by using theURL()
constructor for building the corresponding URL. - baseURL - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
When using
Page.navigate()
,Page.route()
,Page.waitForURL()
,Page.waitForRequest()
, orPage.waitForResponse()
it takes the base URL in consideration by using theURL()
constructor for building the corresponding URL. - baseURL - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
When using
Page.navigate()
,Page.route()
,Page.waitForURL()
,Page.waitForRequest()
, orPage.waitForResponse()
it takes the base URL in consideration by using theURL()
constructor for building the corresponding URL. - baseURL - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
When using
Page.navigate()
,Page.route()
,Page.waitForURL()
,Page.waitForRequest()
, orPage.waitForResponse()
it takes the base URL in consideration by using theURL()
constructor for building the corresponding URL. - beforeEach(ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.APIRequestContextExtension
- binary() - Method in interface com.microsoft.playwright.WebSocketFrame
-
Returns binary payload.
- BindingCallback - Interface in com.microsoft.playwright.options
- BindingCallback.Source - Interface in com.microsoft.playwright.options
- BLOCK - com.microsoft.playwright.options.ServiceWorkerPolicy
- BLOCKQUOTE - com.microsoft.playwright.options.AriaRole
- blur() - Method in interface com.microsoft.playwright.Locator
-
Calls blur on the element.
- blur(Locator.BlurOptions) - Method in interface com.microsoft.playwright.Locator
-
Calls blur on the element.
- BlurOptions() - Constructor for class com.microsoft.playwright.Locator.BlurOptions
- body - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
Optional response body as text.
- body() - Method in interface com.microsoft.playwright.APIResponse
-
Returns the buffer with response body.
- body() - Method in interface com.microsoft.playwright.Response
-
Returns the buffer with response body.
- bodyBytes - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
Optional response body as raw bytes.
- bottom - Variable in class com.microsoft.playwright.options.Margin
-
Bottom margin, accepts values labeled with units.
- boundingBox() - Method in interface com.microsoft.playwright.ElementHandle
-
This method returns the bounding box of the element, or
null
if the element is not visible. - boundingBox() - Method in interface com.microsoft.playwright.Locator
-
This method returns the bounding box of the element matching the locator, or
null
if the element is not visible. - boundingBox(Locator.BoundingBoxOptions) - Method in interface com.microsoft.playwright.Locator
-
This method returns the bounding box of the element matching the locator, or
null
if the element is not visible. - BoundingBox - Class in com.microsoft.playwright.options
- BoundingBox() - Constructor for class com.microsoft.playwright.options.BoundingBox
- BoundingBoxOptions() - Constructor for class com.microsoft.playwright.Locator.BoundingBoxOptions
- bringToFront() - Method in interface com.microsoft.playwright.Page
-
Brings page to front (activates tab).
- browser() - Method in interface com.microsoft.playwright.BrowserContext
-
Returns the browser instance of the context.
- Browser - Interface in com.microsoft.playwright
-
A Browser is created via
BrowserType.launch()
. - Browser.CloseOptions - Class in com.microsoft.playwright
- Browser.NewContextOptions - Class in com.microsoft.playwright
- Browser.NewPageOptions - Class in com.microsoft.playwright
- Browser.StartTracingOptions - Class in com.microsoft.playwright
- BrowserChannel - Enum in com.microsoft.playwright.options
-
Deprecated.
- BrowserContext - Interface in com.microsoft.playwright
-
BrowserContexts provide a way to operate multiple independent browser sessions.
- BrowserContext.ClearCookiesOptions - Class in com.microsoft.playwright
- BrowserContext.CloseOptions - Class in com.microsoft.playwright
- BrowserContext.ExposeBindingOptions - Class in com.microsoft.playwright
- BrowserContext.GrantPermissionsOptions - Class in com.microsoft.playwright
- BrowserContext.RouteFromHAROptions - Class in com.microsoft.playwright
- BrowserContext.RouteOptions - Class in com.microsoft.playwright
- BrowserContext.StorageStateOptions - Class in com.microsoft.playwright
- BrowserContext.WaitForConditionOptions - Class in com.microsoft.playwright
- BrowserContext.WaitForConsoleMessageOptions - Class in com.microsoft.playwright
- BrowserContext.WaitForPageOptions - Class in com.microsoft.playwright
- BrowserContextExtension - Class in com.microsoft.playwright.impl.junit
- BrowserContextExtension() - Constructor for class com.microsoft.playwright.impl.junit.BrowserContextExtension
- BrowserExtension - Class in com.microsoft.playwright.impl.junit
- BrowserExtension() - Constructor for class com.microsoft.playwright.impl.junit.BrowserExtension
- browserName - Variable in class com.microsoft.playwright.junit.Options
- browserType() - Method in interface com.microsoft.playwright.Browser
-
Get the browser type (chromium, firefox or webkit) that the browser belongs to.
- BrowserType - Interface in com.microsoft.playwright
-
BrowserType provides methods to launch a specific browser instance or connect to an existing one.
- BrowserType.ConnectOptions - Class in com.microsoft.playwright
- BrowserType.ConnectOverCDPOptions - Class in com.microsoft.playwright
- BrowserType.LaunchOptions - Class in com.microsoft.playwright
- BrowserType.LaunchPersistentContextOptions - Class in com.microsoft.playwright
- buffer - Variable in class com.microsoft.playwright.options.FilePayload
-
File content
- button - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Mouse.ClickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Mouse.DblclickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Mouse.DownOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Mouse.UpOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Page.ClickOptions
-
Defaults to
left
. - button - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
Defaults to
left
. - BUTTON - com.microsoft.playwright.options.AriaRole
- bypass - Variable in class com.microsoft.playwright.options.Proxy
-
Optional comma-separated domains to bypass proxy, for example
".com, chromium.org, .domain.com"
. - bypassCSP - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Toggles bypassing page's Content-Security-Policy.
- bypassCSP - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Toggles bypassing page's Content-Security-Policy.
- bypassCSP - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Toggles bypassing page's Content-Security-Policy.
C
- call(BindingCallback.Source, Object...) - Method in interface com.microsoft.playwright.options.BindingCallback
- call(Object...) - Method in interface com.microsoft.playwright.options.FunctionCallback
- cancel() - Method in interface com.microsoft.playwright.Download
-
Cancels a download.
- CAPTION - com.microsoft.playwright.options.AriaRole
- caret - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
When set to
"hide"
, screenshot will hide text caret. - caret - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
When set to
"hide"
, screenshot will hide text caret. - caret - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
When set to
"hide"
, screenshot will hide text caret. - categories - Variable in class com.microsoft.playwright.Browser.StartTracingOptions
-
specify custom categories to use instead of default.
- CDPSession - Interface in com.microsoft.playwright
-
The
CDPSession
instances are used to talk raw Chrome Devtools Protocol: protocol methods can be called withsession.send
method. protocol events can be subscribed to withsession.on
method. - CELL - com.microsoft.playwright.options.AriaRole
- cert - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Direct value of the certificate in PEM format.
- certPath - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Path to the file with the certificate in PEM format.
- channel - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Browser distribution channel.
- channel - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Browser distribution channel.
- channel - Variable in class com.microsoft.playwright.junit.Options
- check() - Method in interface com.microsoft.playwright.ElementHandle
-
This method checks the element by performing the following steps: Ensure that element is a checkbox or a radio input.
- check() - Method in interface com.microsoft.playwright.Locator
-
Ensure that checkbox or radio element is checked.
- check(ElementHandle.CheckOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method checks the element by performing the following steps: Ensure that element is a checkbox or a radio input.
- check(Locator.CheckOptions) - Method in interface com.microsoft.playwright.Locator
-
Ensure that checkbox or radio element is checked.
- check(String) - Method in interface com.microsoft.playwright.Frame
-
This method checks an element matching
selector
by performing the following steps: Find an element matchingselector
. - check(String) - Method in interface com.microsoft.playwright.Page
-
This method checks an element matching
selector
by performing the following steps: Find an element matchingselector
. - check(String, Frame.CheckOptions) - Method in interface com.microsoft.playwright.Frame
-
This method checks an element matching
selector
by performing the following steps: Find an element matchingselector
. - check(String, Page.CheckOptions) - Method in interface com.microsoft.playwright.Page
-
This method checks an element matching
selector
by performing the following steps: Find an element matchingselector
. - CHECKBOX - com.microsoft.playwright.options.AriaRole
- checked - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsCheckedOptions
- checked - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - checked - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - checked - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - checked - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - CheckOptions() - Constructor for class com.microsoft.playwright.ElementHandle.CheckOptions
- CheckOptions() - Constructor for class com.microsoft.playwright.Frame.CheckOptions
- CheckOptions() - Constructor for class com.microsoft.playwright.Locator.CheckOptions
- CheckOptions() - Constructor for class com.microsoft.playwright.Page.CheckOptions
- childFrames() - Method in interface com.microsoft.playwright.Frame
- CHROME - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- CHROME_BETA - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- CHROME_CANARY - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- CHROME_DEV - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- chromium() - Method in interface com.microsoft.playwright.Playwright
-
This object can be used to launch or connect to Chromium, returning instances of
Browser
. - chromiumSandbox - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Enable Chromium sandboxing.
- chromiumSandbox - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Enable Chromium sandboxing.
- clear() - Method in interface com.microsoft.playwright.Locator
-
Clear the input field.
- clear(Locator.ClearOptions) - Method in interface com.microsoft.playwright.Locator
-
Clear the input field.
- clearCookies() - Method in interface com.microsoft.playwright.BrowserContext
-
Removes cookies from context.
- clearCookies(BrowserContext.ClearCookiesOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes cookies from context.
- ClearCookiesOptions() - Constructor for class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
- ClearOptions() - Constructor for class com.microsoft.playwright.Locator.ClearOptions
- clearPermissions() - Method in interface com.microsoft.playwright.BrowserContext
-
Clears all permission overrides for the browser context.
- CLI - Class in com.microsoft.playwright
-
Use this class to launch playwright cli.
- CLI() - Constructor for class com.microsoft.playwright.CLI
- click() - Method in interface com.microsoft.playwright.ElementHandle
-
This method clicks the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.mouse()
to click in the center of the element, or the specifiedposition
. Wait for initiated navigations to either succeed or fail, unlessnoWaitAfter
option is set. - click() - Method in interface com.microsoft.playwright.Locator
-
Click an element.
- click(double, double) - Method in interface com.microsoft.playwright.Mouse
- click(double, double, Mouse.ClickOptions) - Method in interface com.microsoft.playwright.Mouse
- click(ElementHandle.ClickOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method clicks the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.mouse()
to click in the center of the element, or the specifiedposition
. Wait for initiated navigations to either succeed or fail, unlessnoWaitAfter
option is set. - click(Locator.ClickOptions) - Method in interface com.microsoft.playwright.Locator
-
Click an element.
- click(String) - Method in interface com.microsoft.playwright.Frame
-
This method clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - click(String) - Method in interface com.microsoft.playwright.Page
-
This method clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - click(String, Frame.ClickOptions) - Method in interface com.microsoft.playwright.Frame
-
This method clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - click(String, Page.ClickOptions) - Method in interface com.microsoft.playwright.Page
-
This method clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - clickCount - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
defaults to 1.
- clickCount - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
defaults to 1.
- clickCount - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
defaults to 1.
- clickCount - Variable in class com.microsoft.playwright.Mouse.ClickOptions
-
defaults to 1.
- clickCount - Variable in class com.microsoft.playwright.Mouse.DownOptions
-
defaults to 1.
- clickCount - Variable in class com.microsoft.playwright.Mouse.UpOptions
-
defaults to 1.
- clickCount - Variable in class com.microsoft.playwright.Page.ClickOptions
-
defaults to 1.
- ClickOptions() - Constructor for class com.microsoft.playwright.ElementHandle.ClickOptions
- ClickOptions() - Constructor for class com.microsoft.playwright.Frame.ClickOptions
- ClickOptions() - Constructor for class com.microsoft.playwright.Locator.ClickOptions
- ClickOptions() - Constructor for class com.microsoft.playwright.Mouse.ClickOptions
- ClickOptions() - Constructor for class com.microsoft.playwright.Page.ClickOptions
- ClientCertificate - Class in com.microsoft.playwright.options
- ClientCertificate(String) - Constructor for class com.microsoft.playwright.options.ClientCertificate
- clientCertificates - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- clientCertificates - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- clientCertificates - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- clientCertificates - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- clip - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
An object which specifies clipping of the resulting image.
- Clip - Class in com.microsoft.playwright.options
- Clip(double, double, double, double) - Constructor for class com.microsoft.playwright.options.Clip
- clock() - Method in interface com.microsoft.playwright.BrowserContext
-
Playwright has ability to mock clock and passage of time.
- clock() - Method in interface com.microsoft.playwright.Page
-
Playwright has ability to mock clock and passage of time.
- Clock - Interface in com.microsoft.playwright
-
Accurately simulating time-dependent behavior is essential for verifying the correctness of applications.
- Clock.InstallOptions - Class in com.microsoft.playwright
- close() - Method in interface com.microsoft.playwright.Browser
-
In case this browser is obtained using
BrowserType.launch()
, closes the browser and all of its pages (if any were opened). - close() - Method in interface com.microsoft.playwright.BrowserContext
-
Closes the browser context.
- close() - Method in interface com.microsoft.playwright.Page
-
If
runBeforeUnload
isfalse
, does not run any unload handlers and waits for the page to be closed. - close() - Method in interface com.microsoft.playwright.Playwright
-
Terminates this instance of Playwright, will also close all created browsers if they are still running.
- close(Browser.CloseOptions) - Method in interface com.microsoft.playwright.Browser
-
In case this browser is obtained using
BrowserType.launch()
, closes the browser and all of its pages (if any were opened). - close(BrowserContext.CloseOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Closes the browser context.
- close(Page.CloseOptions) - Method in interface com.microsoft.playwright.Page
-
If
runBeforeUnload
isfalse
, does not run any unload handlers and waits for the page to be closed. - CloseOptions() - Constructor for class com.microsoft.playwright.Browser.CloseOptions
- CloseOptions() - Constructor for class com.microsoft.playwright.BrowserContext.CloseOptions
- CloseOptions() - Constructor for class com.microsoft.playwright.Page.CloseOptions
- CODE - com.microsoft.playwright.options.AriaRole
- colorScheme - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - colorScheme - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - colorScheme - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - colorScheme - Variable in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - ColorScheme - Enum in com.microsoft.playwright.options
- COLUMNHEADER - com.microsoft.playwright.options.AriaRole
- com.microsoft.playwright - package com.microsoft.playwright
- com.microsoft.playwright.assertions - package com.microsoft.playwright.assertions
- com.microsoft.playwright.impl.junit - package com.microsoft.playwright.impl.junit
- com.microsoft.playwright.junit - package com.microsoft.playwright.junit
- com.microsoft.playwright.options - package com.microsoft.playwright.options
- COMBOBOX - com.microsoft.playwright.options.AriaRole
- COMMIT - com.microsoft.playwright.options.WaitUntilState
- COMPLEMENTARY - com.microsoft.playwright.options.AriaRole
- connect(String) - Method in interface com.microsoft.playwright.BrowserType
-
This method attaches Playwright to an existing browser instance.
- connect(String, BrowserType.ConnectOptions) - Method in interface com.microsoft.playwright.BrowserType
-
This method attaches Playwright to an existing browser instance.
- connectEnd - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately before the user agent starts establishing the connection to the server to retrieve the resource.
- connectOptions - Variable in class com.microsoft.playwright.junit.Options
- ConnectOptions() - Constructor for class com.microsoft.playwright.BrowserType.ConnectOptions
- connectOverCDP(String) - Method in interface com.microsoft.playwright.BrowserType
-
This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
- connectOverCDP(String, BrowserType.ConnectOverCDPOptions) - Method in interface com.microsoft.playwright.BrowserType
-
This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.
- ConnectOverCDPOptions() - Constructor for class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
- connectStart - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately before the user agent starts establishing the connection to the server to retrieve the resource.
- ConsoleMessage - Interface in com.microsoft.playwright
-
ConsoleMessage
objects are dispatched by page via thePage.onConsoleMessage()
event. - containsText(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(String[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(String[], LocatorAssertions.ContainsTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(String, LocatorAssertions.ContainsTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(Pattern[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(Pattern[], LocatorAssertions.ContainsTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - containsText(Pattern, LocatorAssertions.ContainsTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that contains the given text. - ContainsTextOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
- content - Variable in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
Raw JavaScript content to be injected into frame.
- content - Variable in class com.microsoft.playwright.Frame.AddStyleTagOptions
-
Raw CSS content to be injected into frame.
- content - Variable in class com.microsoft.playwright.Page.AddScriptTagOptions
-
Raw JavaScript content to be injected into frame.
- content - Variable in class com.microsoft.playwright.Page.AddStyleTagOptions
-
Raw CSS content to be injected into frame.
- content() - Method in interface com.microsoft.playwright.Frame
-
Gets the full HTML contents of the frame, including the doctype.
- content() - Method in interface com.microsoft.playwright.Page
-
Gets the full HTML contents of the page, including the doctype.
- contentFrame() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the content frame for element handles referencing iframe nodes, or
null
otherwise - contentFrame() - Method in interface com.microsoft.playwright.Locator
-
Returns a
FrameLocator
object pointing to the sameiframe
as this locator. - CONTENTINFO - com.microsoft.playwright.options.AriaRole
- contentScript - Variable in class com.microsoft.playwright.Selectors.RegisterOptions
-
Whether to run this selector engine in isolated JavaScript environment.
- contentType - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
If set, equals to setting
Content-Type
response header. - context() - Method in interface com.microsoft.playwright.options.BindingCallback.Source
- context() - Method in interface com.microsoft.playwright.Page
-
Get the browser context that the page belongs to.
- contextOptions - Variable in class com.microsoft.playwright.junit.Options
- contexts() - Method in interface com.microsoft.playwright.Browser
-
Returns an array of all open browser contexts.
- CONTROL - com.microsoft.playwright.options.KeyboardModifier
- CONTROLORMETA - com.microsoft.playwright.options.KeyboardModifier
- Cookie - Class in com.microsoft.playwright.options
- Cookie(String, String) - Constructor for class com.microsoft.playwright.options.Cookie
- cookies() - Method in interface com.microsoft.playwright.BrowserContext
-
If no URLs are specified, this method returns all cookies.
- cookies(String) - Method in interface com.microsoft.playwright.BrowserContext
-
If no URLs are specified, this method returns all cookies.
- cookies(List<String>) - Method in interface com.microsoft.playwright.BrowserContext
-
If no URLs are specified, this method returns all cookies.
- count() - Method in interface com.microsoft.playwright.Locator
-
Returns the number of elements matching the locator.
- create() - Static method in interface com.microsoft.playwright.options.FormData
-
Creates new instance of
FormData
. - create() - Static method in interface com.microsoft.playwright.options.RequestOptions
-
Creates new instance of
RequestOptions
. - create() - Static method in interface com.microsoft.playwright.Playwright
- create(Playwright.CreateOptions) - Static method in interface com.microsoft.playwright.Playwright
-
Launches new Playwright driver process and connects to it.
- CreateOptions() - Constructor for class com.microsoft.playwright.Playwright.CreateOptions
- createReadStream() - Method in interface com.microsoft.playwright.Download
-
Returns a readable stream for a successful download, or throws for a failed/canceled download.
- CSS - com.microsoft.playwright.options.ScreenshotScale
D
- DARK - com.microsoft.playwright.options.ColorScheme
- dblclick() - Method in interface com.microsoft.playwright.ElementHandle
-
This method double clicks the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.mouse()
to double click in the center of the element, or the specifiedposition
. - dblclick() - Method in interface com.microsoft.playwright.Locator
-
Double-click an element.
- dblclick(double, double) - Method in interface com.microsoft.playwright.Mouse
- dblclick(double, double, Mouse.DblclickOptions) - Method in interface com.microsoft.playwright.Mouse
- dblclick(ElementHandle.DblclickOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method double clicks the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.mouse()
to double click in the center of the element, or the specifiedposition
. - dblclick(Locator.DblclickOptions) - Method in interface com.microsoft.playwright.Locator
-
Double-click an element.
- dblclick(String) - Method in interface com.microsoft.playwright.Frame
-
This method double clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - dblclick(String) - Method in interface com.microsoft.playwright.Page
-
This method double clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - dblclick(String, Frame.DblclickOptions) - Method in interface com.microsoft.playwright.Frame
-
This method double clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - dblclick(String, Page.DblclickOptions) - Method in interface com.microsoft.playwright.Page
-
This method double clicks an element matching
selector
by performing the following steps: Find an element matchingselector
. - DblclickOptions() - Constructor for class com.microsoft.playwright.ElementHandle.DblclickOptions
- DblclickOptions() - Constructor for class com.microsoft.playwright.Frame.DblclickOptions
- DblclickOptions() - Constructor for class com.microsoft.playwright.Locator.DblclickOptions
- DblclickOptions() - Constructor for class com.microsoft.playwright.Mouse.DblclickOptions
- DblclickOptions() - Constructor for class com.microsoft.playwright.Page.DblclickOptions
- DefaultOptions - Class in com.microsoft.playwright.impl.junit
- DefaultOptions() - Constructor for class com.microsoft.playwright.impl.junit.DefaultOptions
- defaultValue() - Method in interface com.microsoft.playwright.Dialog
-
If dialog is prompt, returns default prompt value.
- DEFINITION - com.microsoft.playwright.options.AriaRole
- delay - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.ElementHandle.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - delay - Variable in class com.microsoft.playwright.ElementHandle.TypeOptions
-
Time to wait between key presses in milliseconds.
- delay - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Frame.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Frame.TypeOptions
-
Time to wait between key presses in milliseconds.
- delay - Variable in class com.microsoft.playwright.Keyboard.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Keyboard.TypeOptions
-
Time to wait between key presses in milliseconds.
- delay - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Locator.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Locator.PressSequentiallyOptions
-
Time to wait between key presses in milliseconds.
- delay - Variable in class com.microsoft.playwright.Locator.TypeOptions
-
Time to wait between key presses in milliseconds.
- delay - Variable in class com.microsoft.playwright.Mouse.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Mouse.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Page.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Page.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - delay - Variable in class com.microsoft.playwright.Page.TypeOptions
-
Time to wait between key presses in milliseconds.
- delete() - Method in interface com.microsoft.playwright.Download
-
Deletes the downloaded file.
- delete() - Method in interface com.microsoft.playwright.Video
-
Deletes the video file.
- delete(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) DELETE request and returns its response.
- delete(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) DELETE request and returns its response.
- DELETION - com.microsoft.playwright.options.AriaRole
- detach() - Method in interface com.microsoft.playwright.CDPSession
-
Detaches the CDPSession from the target.
- DETACHED - com.microsoft.playwright.options.WaitForSelectorState
- DEVICE - com.microsoft.playwright.options.ScreenshotScale
- deviceName - Variable in class com.microsoft.playwright.junit.Options
- deviceScaleFactor - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Specify device scale factor (can be thought of as dpr).
- deviceScaleFactor - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Specify device scale factor (can be thought of as dpr).
- deviceScaleFactor - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specify device scale factor (can be thought of as dpr).
- devtools - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Deprecated.Use debugging tools instead.
- devtools - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Deprecated.Use debugging tools instead.
- Dialog - Interface in com.microsoft.playwright
-
Dialog
objects are dispatched by page via thePage.onDialog()
event. - DIALOG - com.microsoft.playwright.options.AriaRole
- DIRECTORY - com.microsoft.playwright.options.AriaRole
- disabled - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - disabled - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - disabled - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - disabled - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - DISABLED - com.microsoft.playwright.options.ElementState
- DISABLED - com.microsoft.playwright.options.ScreenshotAnimations
- dismiss() - Method in interface com.microsoft.playwright.Dialog
-
Returns when the dialog has been dismissed.
- dispatchEvent(String) - Method in interface com.microsoft.playwright.ElementHandle
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String) - Method in interface com.microsoft.playwright.Locator
-
Programmatically dispatch an event on the matching element.
- dispatchEvent(String, Object) - Method in interface com.microsoft.playwright.ElementHandle
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String, Object) - Method in interface com.microsoft.playwright.Locator
-
Programmatically dispatch an event on the matching element.
- dispatchEvent(String, Object, Locator.DispatchEventOptions) - Method in interface com.microsoft.playwright.Locator
-
Programmatically dispatch an event on the matching element.
- dispatchEvent(String, String) - Method in interface com.microsoft.playwright.Frame
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String, String) - Method in interface com.microsoft.playwright.Page
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String, String, Object) - Method in interface com.microsoft.playwright.Frame
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String, String, Object) - Method in interface com.microsoft.playwright.Page
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String, String, Object, Frame.DispatchEventOptions) - Method in interface com.microsoft.playwright.Frame
-
The snippet below dispatches the
click
event on the element. - dispatchEvent(String, String, Object, Page.DispatchEventOptions) - Method in interface com.microsoft.playwright.Page
-
The snippet below dispatches the
click
event on the element. - DispatchEventOptions() - Constructor for class com.microsoft.playwright.Frame.DispatchEventOptions
- DispatchEventOptions() - Constructor for class com.microsoft.playwright.Locator.DispatchEventOptions
- DispatchEventOptions() - Constructor for class com.microsoft.playwright.Page.DispatchEventOptions
- displayHeaderFooter - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Display header and footer.
- dispose() - Method in interface com.microsoft.playwright.APIRequestContext
-
All responses returned by
APIRequestContext.get()
and similar methods are stored in the memory, so that you can later callAPIResponse.body()
.This method discards all its resources, calling any method on disposedAPIRequestContext
will throw an exception. - dispose() - Method in interface com.microsoft.playwright.APIResponse
-
Disposes the body of this response.
- dispose() - Method in interface com.microsoft.playwright.JSHandle
-
The
jsHandle.dispose
method stops referencing the element handle. - dispose(APIRequestContext.DisposeOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
All responses returned by
APIRequestContext.get()
and similar methods are stored in the memory, so that you can later callAPIResponse.body()
.This method discards all its resources, calling any method on disposedAPIRequestContext
will throw an exception. - DisposeOptions() - Constructor for class com.microsoft.playwright.APIRequestContext.DisposeOptions
- DOCUMENT - com.microsoft.playwright.options.AriaRole
- domain - Variable in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given domain.
- domain - Variable in class com.microsoft.playwright.options.Cookie
-
For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com".
- domainLookupEnd - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately after the browser starts the domain name lookup for the resource.
- domainLookupStart - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately before the browser starts the domain name lookup for the resource.
- DOMCONTENTLOADED - com.microsoft.playwright.options.LoadState
- DOMCONTENTLOADED - com.microsoft.playwright.options.WaitUntilState
- down() - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
mousedown
event. - down(Mouse.DownOptions) - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
mousedown
event. - down(String) - Method in interface com.microsoft.playwright.Keyboard
-
Dispatches a
keydown
event. - Download - Interface in com.microsoft.playwright
-
Download
objects are dispatched by page via thePage.onDownload()
event. - downloadsPath - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If specified, accepted downloads are downloaded into this directory.
- downloadsPath - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If specified, accepted downloads are downloaded into this directory.
- DownOptions() - Constructor for class com.microsoft.playwright.Mouse.DownOptions
- dragAndDrop(String, String) - Method in interface com.microsoft.playwright.Frame
- dragAndDrop(String, String) - Method in interface com.microsoft.playwright.Page
-
This method drags the source element to the target element.
- dragAndDrop(String, String, Frame.DragAndDropOptions) - Method in interface com.microsoft.playwright.Frame
- dragAndDrop(String, String, Page.DragAndDropOptions) - Method in interface com.microsoft.playwright.Page
-
This method drags the source element to the target element.
- DragAndDropOptions() - Constructor for class com.microsoft.playwright.Frame.DragAndDropOptions
- DragAndDropOptions() - Constructor for class com.microsoft.playwright.Page.DragAndDropOptions
- dragTo(Locator) - Method in interface com.microsoft.playwright.Locator
-
Drag the source element towards the target element and drop it.
- dragTo(Locator, Locator.DragToOptions) - Method in interface com.microsoft.playwright.Locator
-
Drag the source element towards the target element and drop it.
- DragToOptions() - Constructor for class com.microsoft.playwright.Locator.DragToOptions
E
- editable - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsEditableOptions
- EDITABLE - com.microsoft.playwright.options.ElementState
- element() - Method in interface com.microsoft.playwright.FileChooser
-
Returns input element associated with this file chooser.
- elementHandle() - Method in interface com.microsoft.playwright.Locator
-
Resolves given locator to the first matching DOM element.
- elementHandle(Locator.ElementHandleOptions) - Method in interface com.microsoft.playwright.Locator
-
Resolves given locator to the first matching DOM element.
- ElementHandle - Interface in com.microsoft.playwright
-
ElementHandle represents an in-page DOM element.
- ElementHandle.CheckOptions - Class in com.microsoft.playwright
- ElementHandle.ClickOptions - Class in com.microsoft.playwright
- ElementHandle.DblclickOptions - Class in com.microsoft.playwright
- ElementHandle.FillOptions - Class in com.microsoft.playwright
- ElementHandle.HoverOptions - Class in com.microsoft.playwright
- ElementHandle.InputValueOptions - Class in com.microsoft.playwright
- ElementHandle.PressOptions - Class in com.microsoft.playwright
- ElementHandle.ScreenshotOptions - Class in com.microsoft.playwright
- ElementHandle.ScrollIntoViewIfNeededOptions - Class in com.microsoft.playwright
- ElementHandle.SelectOptionOptions - Class in com.microsoft.playwright
- ElementHandle.SelectTextOptions - Class in com.microsoft.playwright
- ElementHandle.SetCheckedOptions - Class in com.microsoft.playwright
- ElementHandle.SetInputFilesOptions - Class in com.microsoft.playwright
- ElementHandle.TapOptions - Class in com.microsoft.playwright
- ElementHandle.TypeOptions - Class in com.microsoft.playwright
- ElementHandle.UncheckOptions - Class in com.microsoft.playwright
- ElementHandle.WaitForElementStateOptions - Class in com.microsoft.playwright
- ElementHandle.WaitForSelectorOptions - Class in com.microsoft.playwright
- ElementHandleOptions() - Constructor for class com.microsoft.playwright.Locator.ElementHandleOptions
- elementHandles() - Method in interface com.microsoft.playwright.Locator
-
Resolves given locator to all matching DOM elements.
- ElementState - Enum in com.microsoft.playwright.options
- EMBED - com.microsoft.playwright.options.HarContentPolicy
- EMBED - com.microsoft.playwright.options.RouteFromHarUpdateContentPolicy
- EMPHASIS - com.microsoft.playwright.options.AriaRole
- emulateMedia() - Method in interface com.microsoft.playwright.Page
-
This method changes the
CSS media type
through themedia
argument, and/or the"prefers-colors-scheme"
media feature, using thecolorScheme
argument. - emulateMedia(Page.EmulateMediaOptions) - Method in interface com.microsoft.playwright.Page
-
This method changes the
CSS media type
through themedia
argument, and/or the"prefers-colors-scheme"
media feature, using thecolorScheme
argument. - EmulateMediaOptions() - Constructor for class com.microsoft.playwright.Page.EmulateMediaOptions
- enabled - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsEnabledOptions
- ENABLED - com.microsoft.playwright.options.ElementState
- env - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Specify environment variables that will be visible to the browser.
- env - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specify environment variables that will be visible to the browser.
- env - Variable in class com.microsoft.playwright.Playwright.CreateOptions
-
Additional environment variables that will be passed to the driver process.
- error() - Method in interface com.microsoft.playwright.WebError
-
Unhandled error that was thrown.
- evalOnSelector(String, String) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the return value of
expression
. - evalOnSelector(String, String) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evalOnSelector(String, String) - Method in interface com.microsoft.playwright.Page
-
The method finds an element matching the specified selector within the page and passes it as a first argument to
expression
. - evalOnSelector(String, String, Object) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the return value of
expression
. - evalOnSelector(String, String, Object) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evalOnSelector(String, String, Object) - Method in interface com.microsoft.playwright.Page
-
The method finds an element matching the specified selector within the page and passes it as a first argument to
expression
. - evalOnSelector(String, String, Object, Frame.EvalOnSelectorOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evalOnSelector(String, String, Object, Page.EvalOnSelectorOptions) - Method in interface com.microsoft.playwright.Page
-
The method finds an element matching the specified selector within the page and passes it as a first argument to
expression
. - evalOnSelectorAll(String, String) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the return value of
expression
. - evalOnSelectorAll(String, String) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evalOnSelectorAll(String, String) - Method in interface com.microsoft.playwright.Page
-
The method finds all elements matching the specified selector within the page and passes an array of matched elements as a first argument to
expression
. - evalOnSelectorAll(String, String, Object) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the return value of
expression
. - evalOnSelectorAll(String, String, Object) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evalOnSelectorAll(String, String, Object) - Method in interface com.microsoft.playwright.Page
-
The method finds all elements matching the specified selector within the page and passes an array of matched elements as a first argument to
expression
. - EvalOnSelectorOptions() - Constructor for class com.microsoft.playwright.Frame.EvalOnSelectorOptions
- EvalOnSelectorOptions() - Constructor for class com.microsoft.playwright.Page.EvalOnSelectorOptions
- evaluate(String) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evaluate(String) - Method in interface com.microsoft.playwright.JSHandle
-
Returns the return value of
expression
. - evaluate(String) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking the matching element as an argument.
- evaluate(String) - Method in interface com.microsoft.playwright.Page
-
Returns the value of the
expression
invocation. - evaluate(String) - Method in interface com.microsoft.playwright.Worker
-
Returns the return value of
expression
. - evaluate(String, Object) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
. - evaluate(String, Object) - Method in interface com.microsoft.playwright.JSHandle
-
Returns the return value of
expression
. - evaluate(String, Object) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking the matching element as an argument.
- evaluate(String, Object) - Method in interface com.microsoft.playwright.Page
-
Returns the value of the
expression
invocation. - evaluate(String, Object) - Method in interface com.microsoft.playwright.Worker
-
Returns the return value of
expression
. - evaluate(String, Object, Locator.EvaluateOptions) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking the matching element as an argument.
- evaluateAll(String) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking all matching elements as an argument.
- evaluateAll(String, Object) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking all matching elements as an argument.
- evaluateHandle(String) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
as aJSHandle
. - evaluateHandle(String) - Method in interface com.microsoft.playwright.JSHandle
-
Returns the return value of
expression
as aJSHandle
. - evaluateHandle(String) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking the matching element as an argument, and return a
JSHandle
with the result. - evaluateHandle(String) - Method in interface com.microsoft.playwright.Page
-
Returns the value of the
expression
invocation as aJSHandle
. - evaluateHandle(String) - Method in interface com.microsoft.playwright.Worker
-
Returns the return value of
expression
as aJSHandle
. - evaluateHandle(String, Object) - Method in interface com.microsoft.playwright.Frame
-
Returns the return value of
expression
as aJSHandle
. - evaluateHandle(String, Object) - Method in interface com.microsoft.playwright.JSHandle
-
Returns the return value of
expression
as aJSHandle
. - evaluateHandle(String, Object) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking the matching element as an argument, and return a
JSHandle
with the result. - evaluateHandle(String, Object) - Method in interface com.microsoft.playwright.Page
-
Returns the value of the
expression
invocation as aJSHandle
. - evaluateHandle(String, Object) - Method in interface com.microsoft.playwright.Worker
-
Returns the return value of
expression
as aJSHandle
. - evaluateHandle(String, Object, Locator.EvaluateHandleOptions) - Method in interface com.microsoft.playwright.Locator
-
Execute JavaScript code in the page, taking the matching element as an argument, and return a
JSHandle
with the result. - EvaluateHandleOptions() - Constructor for class com.microsoft.playwright.Locator.EvaluateHandleOptions
- EvaluateOptions() - Constructor for class com.microsoft.playwright.Locator.EvaluateOptions
- exact - Variable in class com.microsoft.playwright.Frame.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Frame.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Frame.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - exact - Variable in class com.microsoft.playwright.Frame.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Frame.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.FrameLocator.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.FrameLocator.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.FrameLocator.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - exact - Variable in class com.microsoft.playwright.FrameLocator.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.FrameLocator.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Locator.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Locator.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Locator.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - exact - Variable in class com.microsoft.playwright.Locator.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Locator.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Page.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Page.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Page.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - exact - Variable in class com.microsoft.playwright.Page.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- exact - Variable in class com.microsoft.playwright.Page.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- executablePath - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Path to a browser executable to run instead of the bundled one.
- executablePath - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Path to a browser executable to run instead of the bundled one.
- executablePath() - Method in interface com.microsoft.playwright.BrowserType
-
A path where Playwright expects to find a bundled browser executable.
- expanded - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - expanded - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - expanded - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - expanded - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - expires - Variable in class com.microsoft.playwright.options.Cookie
-
Unix time in seconds.
- exposeBinding(String, BindingCallback) - Method in interface com.microsoft.playwright.BrowserContext
-
The method adds a function called
name
on thewindow
object of every frame in every page in the context. - exposeBinding(String, BindingCallback) - Method in interface com.microsoft.playwright.Page
-
The method adds a function called
name
on thewindow
object of every frame in this page. - exposeBinding(String, BindingCallback, BrowserContext.ExposeBindingOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
The method adds a function called
name
on thewindow
object of every frame in every page in the context. - exposeBinding(String, BindingCallback, Page.ExposeBindingOptions) - Method in interface com.microsoft.playwright.Page
-
The method adds a function called
name
on thewindow
object of every frame in this page. - ExposeBindingOptions() - Constructor for class com.microsoft.playwright.BrowserContext.ExposeBindingOptions
- ExposeBindingOptions() - Constructor for class com.microsoft.playwright.Page.ExposeBindingOptions
- exposeFunction(String, FunctionCallback) - Method in interface com.microsoft.playwright.BrowserContext
-
The method adds a function called
name
on thewindow
object of every frame in every page in the context. - exposeFunction(String, FunctionCallback) - Method in interface com.microsoft.playwright.Page
-
The method adds a function called
name
on thewindow
object of every frame in the page. - exposeNetwork - Variable in class com.microsoft.playwright.BrowserType.ConnectOptions
-
This option exposes network available on the connecting client to the browser being connected to.
- extraHTTPHeaders - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
An object containing additional HTTP headers to be sent with every request.
- extraHTTPHeaders - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
An object containing additional HTTP headers to be sent with every request.
- extraHTTPHeaders - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
An object containing additional HTTP headers to be sent with every request.
- extraHTTPHeaders - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
An object containing additional HTTP headers to be sent with every request.
F
- failure() - Method in interface com.microsoft.playwright.Download
-
Returns download error if any.
- failure() - Method in interface com.microsoft.playwright.Request
-
The method returns
null
unless this request has failed, as reported byrequestfailed
event. - fallback() - Method in interface com.microsoft.playwright.Route
-
Continues route's request with optional overrides.
- fallback(Route.FallbackOptions) - Method in interface com.microsoft.playwright.Route
-
Continues route's request with optional overrides.
- FALLBACK - com.microsoft.playwright.options.HarNotFound
- FallbackOptions() - Constructor for class com.microsoft.playwright.Route.FallbackOptions
- fastForward(long) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock by jumping forward in time.
- fastForward(String) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock by jumping forward in time.
- FEED - com.microsoft.playwright.options.AriaRole
- fetch() - Method in interface com.microsoft.playwright.Route
-
Performs the request and fetches result without fulfilling it, so that the response could be modified and then fulfilled.
- fetch(Request) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) request and returns its response.
- fetch(Request, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) request and returns its response.
- fetch(Route.FetchOptions) - Method in interface com.microsoft.playwright.Route
-
Performs the request and fetches result without fulfilling it, so that the response could be modified and then fulfilled.
- fetch(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) request and returns its response.
- fetch(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) request and returns its response.
- FetchOptions() - Constructor for class com.microsoft.playwright.Route.FetchOptions
- FIGURE - com.microsoft.playwright.options.AriaRole
- FileChooser - Interface in com.microsoft.playwright
-
FileChooser
objects are dispatched by the page in thePage.onFileChooser()
event. - FileChooser.SetFilesOptions - Class in com.microsoft.playwright
- FilePayload - Class in com.microsoft.playwright.options
- FilePayload(String, String, byte[]) - Constructor for class com.microsoft.playwright.options.FilePayload
- fill(String) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, focuses the element, fills it and triggers an
input
event after filling. - fill(String) - Method in interface com.microsoft.playwright.Locator
-
Set a value to the input field.
- fill(String, ElementHandle.FillOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, focuses the element, fills it and triggers an
input
event after filling. - fill(String, Locator.FillOptions) - Method in interface com.microsoft.playwright.Locator
-
Set a value to the input field.
- fill(String, String) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, focuses the element, fills it and triggers aninput
event after filling. - fill(String, String) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, focuses the element, fills it and triggers aninput
event after filling. - fill(String, String, Frame.FillOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, focuses the element, fills it and triggers aninput
event after filling. - fill(String, String, Page.FillOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, focuses the element, fills it and triggers aninput
event after filling. - FillOptions() - Constructor for class com.microsoft.playwright.ElementHandle.FillOptions
- FillOptions() - Constructor for class com.microsoft.playwright.Frame.FillOptions
- FillOptions() - Constructor for class com.microsoft.playwright.Locator.FillOptions
- FillOptions() - Constructor for class com.microsoft.playwright.Page.FillOptions
- filter() - Method in interface com.microsoft.playwright.Locator
-
This method narrows existing locator according to the options, for example filters by text.
- filter(Locator.FilterOptions) - Method in interface com.microsoft.playwright.Locator
-
This method narrows existing locator according to the options, for example filters by text.
- FilterOptions() - Constructor for class com.microsoft.playwright.Locator.FilterOptions
- finished() - Method in interface com.microsoft.playwright.Response
-
Waits for this response to finish, returns always
null
. - firefox() - Method in interface com.microsoft.playwright.Playwright
-
This object can be used to launch or connect to Firefox, returning instances of
Browser
. - FIREFOX_STABLE - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- firefoxUserPrefs - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Firefox user preferences.
- firefoxUserPrefs - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Firefox user preferences.
- first() - Method in interface com.microsoft.playwright.FrameLocator
-
Returns locator to the first matching frame.
- first() - Method in interface com.microsoft.playwright.Locator
-
Returns locator to the first matching element.
- focus() - Method in interface com.microsoft.playwright.ElementHandle
-
Calls focus on the element.
- focus() - Method in interface com.microsoft.playwright.Locator
-
Calls focus on the matching element.
- focus(Locator.FocusOptions) - Method in interface com.microsoft.playwright.Locator
-
Calls focus on the matching element.
- focus(String) - Method in interface com.microsoft.playwright.Frame
-
This method fetches an element with
selector
and focuses it. - focus(String) - Method in interface com.microsoft.playwright.Page
-
This method fetches an element with
selector
and focuses it. - focus(String, Frame.FocusOptions) - Method in interface com.microsoft.playwright.Frame
-
This method fetches an element with
selector
and focuses it. - focus(String, Page.FocusOptions) - Method in interface com.microsoft.playwright.Page
-
This method fetches an element with
selector
and focuses it. - FocusOptions() - Constructor for class com.microsoft.playwright.Frame.FocusOptions
- FocusOptions() - Constructor for class com.microsoft.playwright.Locator.FocusOptions
- FocusOptions() - Constructor for class com.microsoft.playwright.Page.FocusOptions
- footerTemplate - Variable in class com.microsoft.playwright.Page.PdfOptions
-
HTML template for the print footer.
- force - Variable in class com.microsoft.playwright.ElementHandle.CheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.FillOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.SelectTextOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.TapOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.CheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.FillOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.SelectOptionOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.SetCheckedOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.TapOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Frame.UncheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.CheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.ClearOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.DragToOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.FillOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.HoverOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.SelectOptionOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.SelectTextOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.SetCheckedOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.TapOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Locator.UncheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.CheckOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.ClickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.FillOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.HoverOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.SelectOptionOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.SetCheckedOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.TapOptions
-
Whether to bypass the actionability checks.
- force - Variable in class com.microsoft.playwright.Page.UncheckOptions
-
Whether to bypass the actionability checks.
- forcedColors - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
,"none"
. - forcedColors - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
,"none"
. - forcedColors - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
,"none"
. - forcedColors - Variable in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
and"none"
. - ForcedColors - Enum in com.microsoft.playwright.options
- FORM - com.microsoft.playwright.options.AriaRole
- format - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Paper format.
- FormData - Interface in com.microsoft.playwright.options
-
The
FormData
is used create form data that is sent viaAPIRequestContext
. - frame() - Method in interface com.microsoft.playwright.options.BindingCallback.Source
- frame() - Method in interface com.microsoft.playwright.Request
-
Returns the
Frame
that initiated this request. - frame() - Method in interface com.microsoft.playwright.Response
-
Returns the
Frame
that initiated this response. - frame(String) - Method in interface com.microsoft.playwright.Page
-
Returns frame matching the specified criteria.
- Frame - Interface in com.microsoft.playwright
-
At every point of time, page exposes its current frame tree via the
Page.mainFrame()
andFrame.childFrames()
methods. - Frame.AddScriptTagOptions - Class in com.microsoft.playwright
- Frame.AddStyleTagOptions - Class in com.microsoft.playwright
- Frame.CheckOptions - Class in com.microsoft.playwright
- Frame.ClickOptions - Class in com.microsoft.playwright
- Frame.DblclickOptions - Class in com.microsoft.playwright
- Frame.DispatchEventOptions - Class in com.microsoft.playwright
- Frame.DragAndDropOptions - Class in com.microsoft.playwright
- Frame.EvalOnSelectorOptions - Class in com.microsoft.playwright
- Frame.FillOptions - Class in com.microsoft.playwright
- Frame.FocusOptions - Class in com.microsoft.playwright
- Frame.GetAttributeOptions - Class in com.microsoft.playwright
- Frame.GetByAltTextOptions - Class in com.microsoft.playwright
- Frame.GetByLabelOptions - Class in com.microsoft.playwright
- Frame.GetByPlaceholderOptions - Class in com.microsoft.playwright
- Frame.GetByRoleOptions - Class in com.microsoft.playwright
- Frame.GetByTextOptions - Class in com.microsoft.playwright
- Frame.GetByTitleOptions - Class in com.microsoft.playwright
- Frame.HoverOptions - Class in com.microsoft.playwright
- Frame.InnerHTMLOptions - Class in com.microsoft.playwright
- Frame.InnerTextOptions - Class in com.microsoft.playwright
- Frame.InputValueOptions - Class in com.microsoft.playwright
- Frame.IsCheckedOptions - Class in com.microsoft.playwright
- Frame.IsDisabledOptions - Class in com.microsoft.playwright
- Frame.IsEditableOptions - Class in com.microsoft.playwright
- Frame.IsEnabledOptions - Class in com.microsoft.playwright
- Frame.IsHiddenOptions - Class in com.microsoft.playwright
- Frame.IsVisibleOptions - Class in com.microsoft.playwright
- Frame.LocatorOptions - Class in com.microsoft.playwright
- Frame.NavigateOptions - Class in com.microsoft.playwright
- Frame.PressOptions - Class in com.microsoft.playwright
- Frame.QuerySelectorOptions - Class in com.microsoft.playwright
- Frame.SelectOptionOptions - Class in com.microsoft.playwright
- Frame.SetCheckedOptions - Class in com.microsoft.playwright
- Frame.SetContentOptions - Class in com.microsoft.playwright
- Frame.SetInputFilesOptions - Class in com.microsoft.playwright
- Frame.TapOptions - Class in com.microsoft.playwright
- Frame.TextContentOptions - Class in com.microsoft.playwright
- Frame.TypeOptions - Class in com.microsoft.playwright
- Frame.UncheckOptions - Class in com.microsoft.playwright
- Frame.WaitForFunctionOptions - Class in com.microsoft.playwright
- Frame.WaitForLoadStateOptions - Class in com.microsoft.playwright
- Frame.WaitForNavigationOptions - Class in com.microsoft.playwright
- Frame.WaitForSelectorOptions - Class in com.microsoft.playwright
- Frame.WaitForURLOptions - Class in com.microsoft.playwright
- frameByUrl(String) - Method in interface com.microsoft.playwright.Page
-
Returns frame with matching URL.
- frameByUrl(Predicate<String>) - Method in interface com.microsoft.playwright.Page
-
Returns frame with matching URL.
- frameByUrl(Pattern) - Method in interface com.microsoft.playwright.Page
-
Returns frame with matching URL.
- frameElement() - Method in interface com.microsoft.playwright.Frame
-
Returns the
frame
oriframe
element handle which corresponds to this frame. - frameLocator(String) - Method in interface com.microsoft.playwright.Frame
-
When working with iframes, you can create a frame locator that will enter the iframe and allow selecting elements in that iframe.
- frameLocator(String) - Method in interface com.microsoft.playwright.FrameLocator
-
When working with iframes, you can create a frame locator that will enter the iframe and allow selecting elements in that iframe.
- frameLocator(String) - Method in interface com.microsoft.playwright.Locator
-
When working with iframes, you can create a frame locator that will enter the iframe and allow locating elements in that iframe:
- frameLocator(String) - Method in interface com.microsoft.playwright.Page
-
When working with iframes, you can create a frame locator that will enter the iframe and allow selecting elements in that iframe.
- FrameLocator - Interface in com.microsoft.playwright
-
FrameLocator represents a view to the
iframe
on the page. - FrameLocator.GetByAltTextOptions - Class in com.microsoft.playwright
- FrameLocator.GetByLabelOptions - Class in com.microsoft.playwright
- FrameLocator.GetByPlaceholderOptions - Class in com.microsoft.playwright
- FrameLocator.GetByRoleOptions - Class in com.microsoft.playwright
- FrameLocator.GetByTextOptions - Class in com.microsoft.playwright
- FrameLocator.GetByTitleOptions - Class in com.microsoft.playwright
- FrameLocator.LocatorOptions - Class in com.microsoft.playwright
- frames() - Method in interface com.microsoft.playwright.Page
-
An array of all frames attached to the page.
- fromServiceWorker() - Method in interface com.microsoft.playwright.Response
-
Indicates whether this Response was fulfilled by a Service Worker's Fetch Handler (i.e. via FetchEvent.respondWith).
- fulfill() - Method in interface com.microsoft.playwright.Route
-
Fulfills route's request with given response.
- fulfill(Route.FulfillOptions) - Method in interface com.microsoft.playwright.Route
-
Fulfills route's request with given response.
- FulfillOptions() - Constructor for class com.microsoft.playwright.Route.FulfillOptions
- FULL - com.microsoft.playwright.options.HarMode
- fullPage - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport.
- FunctionCallback - Interface in com.microsoft.playwright.options
G
- GENERIC - com.microsoft.playwright.options.AriaRole
- geolocation - Variable in class com.microsoft.playwright.Browser.NewContextOptions
- geolocation - Variable in class com.microsoft.playwright.Browser.NewPageOptions
- geolocation - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- Geolocation - Class in com.microsoft.playwright.options
- Geolocation(double, double) - Constructor for class com.microsoft.playwright.options.Geolocation
- get(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) GET request and returns its response.
- get(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) GET request and returns its response.
- getAttribute(String) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns element attribute value.
- getAttribute(String) - Method in interface com.microsoft.playwright.Locator
-
Returns the matching element's attribute value.
- getAttribute(String, Locator.GetAttributeOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns the matching element's attribute value.
- getAttribute(String, String) - Method in interface com.microsoft.playwright.Frame
-
Returns element attribute value.
- getAttribute(String, String) - Method in interface com.microsoft.playwright.Page
-
Returns element attribute value.
- getAttribute(String, String, Frame.GetAttributeOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns element attribute value.
- getAttribute(String, String, Page.GetAttributeOptions) - Method in interface com.microsoft.playwright.Page
-
Returns element attribute value.
- GetAttributeOptions() - Constructor for class com.microsoft.playwright.Frame.GetAttributeOptions
- GetAttributeOptions() - Constructor for class com.microsoft.playwright.Locator.GetAttributeOptions
- GetAttributeOptions() - Constructor for class com.microsoft.playwright.Page.GetAttributeOptions
- getByAltText(String) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their alt text.
- getByAltText(String) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their alt text.
- getByAltText(String) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their alt text.
- getByAltText(String) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their alt text.
- getByAltText(String, Frame.GetByAltTextOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their alt text.
- getByAltText(String, FrameLocator.GetByAltTextOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their alt text.
- getByAltText(String, Locator.GetByAltTextOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their alt text.
- getByAltText(String, Page.GetByAltTextOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their alt text.
- getByAltText(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their alt text.
- getByAltText(Pattern) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their alt text.
- getByAltText(Pattern) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their alt text.
- getByAltText(Pattern) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their alt text.
- getByAltText(Pattern, Frame.GetByAltTextOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their alt text.
- getByAltText(Pattern, FrameLocator.GetByAltTextOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their alt text.
- getByAltText(Pattern, Locator.GetByAltTextOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their alt text.
- getByAltText(Pattern, Page.GetByAltTextOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their alt text.
- GetByAltTextOptions() - Constructor for class com.microsoft.playwright.Frame.GetByAltTextOptions
- GetByAltTextOptions() - Constructor for class com.microsoft.playwright.FrameLocator.GetByAltTextOptions
- GetByAltTextOptions() - Constructor for class com.microsoft.playwright.Locator.GetByAltTextOptions
- GetByAltTextOptions() - Constructor for class com.microsoft.playwright.Page.GetByAltTextOptions
- getByLabel(String) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String, Frame.GetByLabelOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String, FrameLocator.GetByLabelOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String, Locator.GetByLabelOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(String, Page.GetByLabelOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern, Frame.GetByLabelOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern, FrameLocator.GetByLabelOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern, Locator.GetByLabelOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - getByLabel(Pattern, Page.GetByLabelOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the text of the associated
<label>
oraria-labelledby
element, or by thearia-label
attribute. - GetByLabelOptions() - Constructor for class com.microsoft.playwright.Frame.GetByLabelOptions
- GetByLabelOptions() - Constructor for class com.microsoft.playwright.FrameLocator.GetByLabelOptions
- GetByLabelOptions() - Constructor for class com.microsoft.playwright.Locator.GetByLabelOptions
- GetByLabelOptions() - Constructor for class com.microsoft.playwright.Page.GetByLabelOptions
- getByPlaceholder(String) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String, Frame.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String, FrameLocator.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String, Locator.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(String, Page.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern, Frame.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern, FrameLocator.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern, Locator.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating input elements by the placeholder text.
- getByPlaceholder(Pattern, Page.GetByPlaceholderOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating input elements by the placeholder text.
- GetByPlaceholderOptions() - Constructor for class com.microsoft.playwright.Frame.GetByPlaceholderOptions
- GetByPlaceholderOptions() - Constructor for class com.microsoft.playwright.FrameLocator.GetByPlaceholderOptions
- GetByPlaceholderOptions() - Constructor for class com.microsoft.playwright.Locator.GetByPlaceholderOptions
- GetByPlaceholderOptions() - Constructor for class com.microsoft.playwright.Page.GetByPlaceholderOptions
- getByRole(AriaRole) - Method in interface com.microsoft.playwright.Frame
- getByRole(AriaRole) - Method in interface com.microsoft.playwright.FrameLocator
- getByRole(AriaRole) - Method in interface com.microsoft.playwright.Locator
- getByRole(AriaRole) - Method in interface com.microsoft.playwright.Page
- getByRole(AriaRole, Frame.GetByRoleOptions) - Method in interface com.microsoft.playwright.Frame
- getByRole(AriaRole, FrameLocator.GetByRoleOptions) - Method in interface com.microsoft.playwright.FrameLocator
- getByRole(AriaRole, Locator.GetByRoleOptions) - Method in interface com.microsoft.playwright.Locator
- getByRole(AriaRole, Page.GetByRoleOptions) - Method in interface com.microsoft.playwright.Page
- GetByRoleOptions() - Constructor for class com.microsoft.playwright.Frame.GetByRoleOptions
- GetByRoleOptions() - Constructor for class com.microsoft.playwright.FrameLocator.GetByRoleOptions
- GetByRoleOptions() - Constructor for class com.microsoft.playwright.Locator.GetByRoleOptions
- GetByRoleOptions() - Constructor for class com.microsoft.playwright.Page.GetByRoleOptions
- getByTestId(String) - Method in interface com.microsoft.playwright.Frame
-
Locate element by the test id.
- getByTestId(String) - Method in interface com.microsoft.playwright.FrameLocator
-
Locate element by the test id.
- getByTestId(String) - Method in interface com.microsoft.playwright.Locator
-
Locate element by the test id.
- getByTestId(String) - Method in interface com.microsoft.playwright.Page
-
Locate element by the test id.
- getByTestId(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Locate element by the test id.
- getByTestId(Pattern) - Method in interface com.microsoft.playwright.FrameLocator
-
Locate element by the test id.
- getByTestId(Pattern) - Method in interface com.microsoft.playwright.Locator
-
Locate element by the test id.
- getByTestId(Pattern) - Method in interface com.microsoft.playwright.Page
-
Locate element by the test id.
- getByText(String) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements that contain given text.
- getByText(String) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements that contain given text.
- getByText(String) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements that contain given text.
- getByText(String) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements that contain given text.
- getByText(String, Frame.GetByTextOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements that contain given text.
- getByText(String, FrameLocator.GetByTextOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements that contain given text.
- getByText(String, Locator.GetByTextOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements that contain given text.
- getByText(String, Page.GetByTextOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements that contain given text.
- getByText(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements that contain given text.
- getByText(Pattern) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements that contain given text.
- getByText(Pattern) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements that contain given text.
- getByText(Pattern) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements that contain given text.
- getByText(Pattern, Frame.GetByTextOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements that contain given text.
- getByText(Pattern, FrameLocator.GetByTextOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements that contain given text.
- getByText(Pattern, Locator.GetByTextOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements that contain given text.
- getByText(Pattern, Page.GetByTextOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements that contain given text.
- GetByTextOptions() - Constructor for class com.microsoft.playwright.Frame.GetByTextOptions
- GetByTextOptions() - Constructor for class com.microsoft.playwright.FrameLocator.GetByTextOptions
- GetByTextOptions() - Constructor for class com.microsoft.playwright.Locator.GetByTextOptions
- GetByTextOptions() - Constructor for class com.microsoft.playwright.Page.GetByTextOptions
- getByTitle(String) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their title attribute.
- getByTitle(String) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their title attribute.
- getByTitle(String) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their title attribute.
- getByTitle(String) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their title attribute.
- getByTitle(String, Frame.GetByTitleOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their title attribute.
- getByTitle(String, FrameLocator.GetByTitleOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their title attribute.
- getByTitle(String, Locator.GetByTitleOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their title attribute.
- getByTitle(String, Page.GetByTitleOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their title attribute.
- getByTitle(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their title attribute.
- getByTitle(Pattern) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their title attribute.
- getByTitle(Pattern) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their title attribute.
- getByTitle(Pattern) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their title attribute.
- getByTitle(Pattern, Frame.GetByTitleOptions) - Method in interface com.microsoft.playwright.Frame
-
Allows locating elements by their title attribute.
- getByTitle(Pattern, FrameLocator.GetByTitleOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
Allows locating elements by their title attribute.
- getByTitle(Pattern, Locator.GetByTitleOptions) - Method in interface com.microsoft.playwright.Locator
-
Allows locating elements by their title attribute.
- getByTitle(Pattern, Page.GetByTitleOptions) - Method in interface com.microsoft.playwright.Page
-
Allows locating elements by their title attribute.
- GetByTitleOptions() - Constructor for class com.microsoft.playwright.Frame.GetByTitleOptions
- GetByTitleOptions() - Constructor for class com.microsoft.playwright.FrameLocator.GetByTitleOptions
- GetByTitleOptions() - Constructor for class com.microsoft.playwright.Locator.GetByTitleOptions
- GetByTitleOptions() - Constructor for class com.microsoft.playwright.Page.GetByTitleOptions
- getOptions() - Method in class com.microsoft.playwright.impl.junit.DefaultOptions
- getOptions() - Method in interface com.microsoft.playwright.junit.OptionsFactory
- getOrCreateAPIRequestContext(ExtensionContext) - Static method in class com.microsoft.playwright.impl.junit.APIRequestContextExtension
-
Returns the APIRequestContext that belongs to the current test.
- getOrCreateBrowser(ExtensionContext) - Static method in class com.microsoft.playwright.impl.junit.BrowserExtension
-
Returns the Browser that belongs to the current test.
- getOrCreateBrowserContext(ExtensionContext) - Static method in class com.microsoft.playwright.impl.junit.BrowserContextExtension
-
Returns the BrowserContext that belongs to the current test.
- getOrCreatePage(ExtensionContext) - Static method in class com.microsoft.playwright.impl.junit.PageExtension
-
Returns the Page that belongs to the current test.
- getOrCreatePlaywright(ExtensionContext) - Static method in class com.microsoft.playwright.impl.junit.PlaywrightExtension
-
Returns the Playwright that belongs to the current test.
- getProperties() - Method in interface com.microsoft.playwright.JSHandle
-
The method returns a map with **own property names** as keys and JSHandle instances for the property values.
- getProperty(String) - Method in interface com.microsoft.playwright.JSHandle
-
Fetches a single property from the referenced object.
- goBack() - Method in interface com.microsoft.playwright.Page
-
Returns the main resource response.
- goBack(Page.GoBackOptions) - Method in interface com.microsoft.playwright.Page
-
Returns the main resource response.
- GoBackOptions() - Constructor for class com.microsoft.playwright.Page.GoBackOptions
- goForward() - Method in interface com.microsoft.playwright.Page
-
Returns the main resource response.
- goForward(Page.GoForwardOptions) - Method in interface com.microsoft.playwright.Page
-
Returns the main resource response.
- GoForwardOptions() - Constructor for class com.microsoft.playwright.Page.GoForwardOptions
- grantPermissions(List<String>) - Method in interface com.microsoft.playwright.BrowserContext
-
Grants specified permissions to the browser context.
- grantPermissions(List<String>, BrowserContext.GrantPermissionsOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Grants specified permissions to the browser context.
- GrantPermissionsOptions() - Constructor for class com.microsoft.playwright.BrowserContext.GrantPermissionsOptions
- GRID - com.microsoft.playwright.options.AriaRole
- GRIDCELL - com.microsoft.playwright.options.AriaRole
- GROUP - com.microsoft.playwright.options.AriaRole
H
- handle - Variable in class com.microsoft.playwright.BrowserContext.ExposeBindingOptions
-
Deprecated.This option will be removed in the future.
- handle - Variable in class com.microsoft.playwright.Page.ExposeBindingOptions
-
Deprecated.This option will be removed in the future.
- handleSIGHUP - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Close the browser process on SIGHUP.
- handleSIGHUP - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Close the browser process on SIGHUP.
- handleSIGINT - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Close the browser process on Ctrl-C.
- handleSIGINT - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Close the browser process on Ctrl-C.
- handleSIGTERM - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Close the browser process on SIGTERM.
- handleSIGTERM - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Close the browser process on SIGTERM.
- HarContentPolicy - Enum in com.microsoft.playwright.options
- HarMode - Enum in com.microsoft.playwright.options
- HarNotFound - Enum in com.microsoft.playwright.options
- has - Variable in class com.microsoft.playwright.Frame.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- has - Variable in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- has - Variable in class com.microsoft.playwright.Locator.FilterOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- has - Variable in class com.microsoft.playwright.Locator.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- has - Variable in class com.microsoft.playwright.Page.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- hasAccessibleDescription(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible description. - hasAccessibleDescription(String, LocatorAssertions.HasAccessibleDescriptionOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible description. - hasAccessibleDescription(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible description. - hasAccessibleDescription(Pattern, LocatorAssertions.HasAccessibleDescriptionOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible description. - HasAccessibleDescriptionOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleDescriptionOptions
- hasAccessibleName(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible name. - hasAccessibleName(String, LocatorAssertions.HasAccessibleNameOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible name. - hasAccessibleName(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible name. - hasAccessibleName(Pattern, LocatorAssertions.HasAccessibleNameOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given accessible name. - HasAccessibleNameOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleNameOptions
- hasAttribute(String, String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given attribute. - hasAttribute(String, String, LocatorAssertions.HasAttributeOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given attribute. - hasAttribute(String, Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given attribute. - hasAttribute(String, Pattern, LocatorAssertions.HasAttributeOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given attribute. - HasAttributeOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasAttributeOptions
- hasClass(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(String[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(String[], LocatorAssertions.HasClassOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(String, LocatorAssertions.HasClassOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(Pattern[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(Pattern[], LocatorAssertions.HasClassOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - hasClass(Pattern, LocatorAssertions.HasClassOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given CSS classes. - HasClassOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasClassOptions
- hasCount(int) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
resolves to an exact number of DOM nodes. - hasCount(int, LocatorAssertions.HasCountOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
resolves to an exact number of DOM nodes. - HasCountOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasCountOptions
- hasCSS(String, String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
resolves to an element with the given computed CSS style. - hasCSS(String, String, LocatorAssertions.HasCSSOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
resolves to an element with the given computed CSS style. - hasCSS(String, Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
resolves to an element with the given computed CSS style. - hasCSS(String, Pattern, LocatorAssertions.HasCSSOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
resolves to an element with the given computed CSS style. - HasCSSOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasCSSOptions
- hasId(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given DOM Node ID. - hasId(String, LocatorAssertions.HasIdOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given DOM Node ID. - hasId(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given DOM Node ID. - hasId(Pattern, LocatorAssertions.HasIdOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given DOM Node ID. - HasIdOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasIdOptions
- hasJSProperty(String, Object) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given JavaScript property. - hasJSProperty(String, Object, LocatorAssertions.HasJSPropertyOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with given JavaScript property. - HasJSPropertyOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasJSPropertyOptions
- hasNot - Variable in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- hasNot - Variable in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- hasNot - Variable in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements that do not contain an element that matches an inner locator.
- hasNot - Variable in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- hasNot - Variable in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- hasNotText - Variable in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- hasNotText - Variable in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- hasNotText - Variable in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- hasNotText - Variable in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- hasNotText - Variable in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- hasRole(AriaRole) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given ARIA role. - hasRole(AriaRole, LocatorAssertions.HasRoleOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with a given ARIA role. - HasRoleOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasRoleOptions
- hasText - Variable in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- hasText - Variable in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- hasText - Variable in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- hasText - Variable in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- hasText - Variable in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- hasText(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(String[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(String[], LocatorAssertions.HasTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(String, LocatorAssertions.HasTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(Pattern[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(Pattern[], LocatorAssertions.HasTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - hasText(Pattern, LocatorAssertions.HasTextOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given text. - HasTextOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
- hasTitle(String) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page has the given title.
- hasTitle(String, PageAssertions.HasTitleOptions) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page has the given title.
- hasTitle(Pattern) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page has the given title.
- hasTitle(Pattern, PageAssertions.HasTitleOptions) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page has the given title.
- HasTitleOptions() - Constructor for class com.microsoft.playwright.assertions.PageAssertions.HasTitleOptions
- hasTouch - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Specifies if viewport supports touch events.
- hasTouch - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Specifies if viewport supports touch events.
- hasTouch - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specifies if viewport supports touch events.
- hasURL(String) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page is navigated to the given URL.
- hasURL(String, PageAssertions.HasURLOptions) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page is navigated to the given URL.
- hasURL(Pattern) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page is navigated to the given URL.
- hasURL(Pattern, PageAssertions.HasURLOptions) - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Ensures the page is navigated to the given URL.
- HasURLOptions() - Constructor for class com.microsoft.playwright.assertions.PageAssertions.HasURLOptions
- hasValue(String) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given input value. - hasValue(String, LocatorAssertions.HasValueOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given input value. - hasValue(Pattern) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given input value. - hasValue(Pattern, LocatorAssertions.HasValueOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element with the given input value. - HasValueOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasValueOptions
- hasValues(String[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to multi-select/combobox (i.e. aselect
with themultiple
attribute) and the specified values are selected. - hasValues(String[], LocatorAssertions.HasValuesOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to multi-select/combobox (i.e. aselect
with themultiple
attribute) and the specified values are selected. - hasValues(Pattern[]) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to multi-select/combobox (i.e. aselect
with themultiple
attribute) and the specified values are selected. - hasValues(Pattern[], LocatorAssertions.HasValuesOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to multi-select/combobox (i.e. aselect
with themultiple
attribute) and the specified values are selected. - HasValuesOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.HasValuesOptions
- head(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) HEAD request and returns its response.
- head(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) HEAD request and returns its response.
- headers - Variable in class com.microsoft.playwright.BrowserType.ConnectOptions
-
Additional HTTP headers to be sent with web socket connect request.
- headers - Variable in class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
-
Additional HTTP headers to be sent with connect request.
- headers - Variable in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the request HTTP headers.
- headers - Variable in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the request HTTP headers.
- headers - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
Response headers.
- headers - Variable in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the request HTTP headers.
- headers() - Method in interface com.microsoft.playwright.APIResponse
-
An object with all the response HTTP headers associated with this response.
- headers() - Method in interface com.microsoft.playwright.Request
-
An object with the request HTTP headers.
- headers() - Method in interface com.microsoft.playwright.Response
-
An object with the response HTTP headers.
- headersArray() - Method in interface com.microsoft.playwright.APIResponse
-
An array with all the response HTTP headers associated with this response.
- headersArray() - Method in interface com.microsoft.playwright.Request
-
An array with all the request HTTP headers associated with this request.
- headersArray() - Method in interface com.microsoft.playwright.Response
-
An array with all the request HTTP headers associated with this response.
- headerTemplate - Variable in class com.microsoft.playwright.Page.PdfOptions
-
HTML template for the print header.
- headerValue(String) - Method in interface com.microsoft.playwright.Request
-
Returns the value of the header matching the name.
- headerValue(String) - Method in interface com.microsoft.playwright.Response
-
Returns the value of the header matching the name.
- headerValues(String) - Method in interface com.microsoft.playwright.Response
-
Returns all values of the headers matching the name, for example
set-cookie
. - HEADING - com.microsoft.playwright.options.AriaRole
- headless - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Whether to run browser in headless mode.
- headless - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to run browser in headless mode.
- headless - Variable in class com.microsoft.playwright.junit.Options
- height - Variable in class com.microsoft.playwright.options.BoundingBox
-
the height of the element in pixels.
- height - Variable in class com.microsoft.playwright.options.Clip
-
height of clipping area
- height - Variable in class com.microsoft.playwright.options.RecordVideoSize
-
Video frame height.
- height - Variable in class com.microsoft.playwright.options.ScreenSize
-
page height in pixels.
- height - Variable in class com.microsoft.playwright.options.ViewportSize
-
page height in pixels.
- height - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Paper height, accepts values labeled with units.
- HIDDEN - com.microsoft.playwright.options.ElementState
- HIDDEN - com.microsoft.playwright.options.WaitForSelectorState
- HIDE - com.microsoft.playwright.options.ScreenshotCaret
- highlight() - Method in interface com.microsoft.playwright.Locator
-
Highlight the corresponding element(s) on the screen.
- hover() - Method in interface com.microsoft.playwright.ElementHandle
-
This method hovers over the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.mouse()
to hover over the center of the element, or the specifiedposition
. - hover() - Method in interface com.microsoft.playwright.Locator
-
Hover over the matching element.
- hover(ElementHandle.HoverOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method hovers over the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.mouse()
to hover over the center of the element, or the specifiedposition
. - hover(Locator.HoverOptions) - Method in interface com.microsoft.playwright.Locator
-
Hover over the matching element.
- hover(String) - Method in interface com.microsoft.playwright.Frame
-
This method hovers over an element matching
selector
by performing the following steps: Find an element matchingselector
. - hover(String) - Method in interface com.microsoft.playwright.Page
-
This method hovers over an element matching
selector
by performing the following steps: Find an element matchingselector
. - hover(String, Frame.HoverOptions) - Method in interface com.microsoft.playwright.Frame
-
This method hovers over an element matching
selector
by performing the following steps: Find an element matchingselector
. - hover(String, Page.HoverOptions) - Method in interface com.microsoft.playwright.Page
-
This method hovers over an element matching
selector
by performing the following steps: Find an element matchingselector
. - HoverOptions() - Constructor for class com.microsoft.playwright.ElementHandle.HoverOptions
- HoverOptions() - Constructor for class com.microsoft.playwright.Frame.HoverOptions
- HoverOptions() - Constructor for class com.microsoft.playwright.Locator.HoverOptions
- HoverOptions() - Constructor for class com.microsoft.playwright.Page.HoverOptions
- httpCredentials - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Credentials for HTTP authentication.
- httpCredentials - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Credentials for HTTP authentication.
- httpCredentials - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Credentials for HTTP authentication.
- httpCredentials - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Credentials for HTTP authentication.
- HttpCredentials - Class in com.microsoft.playwright.options
- HttpCredentials(String, String) - Constructor for class com.microsoft.playwright.options.HttpCredentials
- HttpCredentialsSend - Enum in com.microsoft.playwright.options
- HttpHeader - Class in com.microsoft.playwright.options
- HttpHeader() - Constructor for class com.microsoft.playwright.options.HttpHeader
- httpOnly - Variable in class com.microsoft.playwright.options.Cookie
-
Optional.
I
- ignoreAllDefaultArgs - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - ignoreAllDefaultArgs - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - ignoreCase - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
-
Whether to perform case-insensitive match.
- ignoreCase - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleDescriptionOptions
-
Whether to perform case-insensitive match.
- ignoreCase - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleNameOptions
-
Whether to perform case-insensitive match.
- ignoreCase - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasAttributeOptions
-
Whether to perform case-insensitive match.
- ignoreCase - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Whether to perform case-insensitive match.
- ignoreCase - Variable in class com.microsoft.playwright.assertions.PageAssertions.HasURLOptions
-
Whether to perform case-insensitive match.
- ignoreDefaultArgs - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - ignoreDefaultArgs - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - ignoreHTTPSErrors - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Whether to ignore HTTPS errors when sending network requests.
- ignoreHTTPSErrors - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to ignore HTTPS errors when sending network requests.
- ignoreHTTPSErrors - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to ignore HTTPS errors when sending network requests.
- ignoreHTTPSErrors - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to ignore HTTPS errors when sending network requests.
- ignoreHTTPSErrors - Variable in class com.microsoft.playwright.junit.Options
- IMG - com.microsoft.playwright.options.AriaRole
- includeHidden - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- includeHidden - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- includeHidden - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- includeHidden - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- index - Variable in class com.microsoft.playwright.options.SelectOption
-
Matches by the index.
- INITIAL - com.microsoft.playwright.options.ScreenshotCaret
- innerHTML() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the
element.innerHTML
. - innerHTML() - Method in interface com.microsoft.playwright.Locator
-
Returns the
element.innerHTML
. - innerHTML(Locator.InnerHTMLOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns the
element.innerHTML
. - innerHTML(String) - Method in interface com.microsoft.playwright.Frame
-
Returns
element.innerHTML
. - innerHTML(String) - Method in interface com.microsoft.playwright.Page
-
Returns
element.innerHTML
. - innerHTML(String, Frame.InnerHTMLOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns
element.innerHTML
. - innerHTML(String, Page.InnerHTMLOptions) - Method in interface com.microsoft.playwright.Page
-
Returns
element.innerHTML
. - InnerHTMLOptions() - Constructor for class com.microsoft.playwright.Frame.InnerHTMLOptions
- InnerHTMLOptions() - Constructor for class com.microsoft.playwright.Locator.InnerHTMLOptions
- InnerHTMLOptions() - Constructor for class com.microsoft.playwright.Page.InnerHTMLOptions
- innerText() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the
element.innerText
. - innerText() - Method in interface com.microsoft.playwright.Locator
-
Returns the
element.innerText
. - innerText(Locator.InnerTextOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns the
element.innerText
. - innerText(String) - Method in interface com.microsoft.playwright.Frame
-
Returns
element.innerText
. - innerText(String) - Method in interface com.microsoft.playwright.Page
-
Returns
element.innerText
. - innerText(String, Frame.InnerTextOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns
element.innerText
. - innerText(String, Page.InnerTextOptions) - Method in interface com.microsoft.playwright.Page
-
Returns
element.innerText
. - InnerTextOptions() - Constructor for class com.microsoft.playwright.Frame.InnerTextOptions
- InnerTextOptions() - Constructor for class com.microsoft.playwright.Locator.InnerTextOptions
- InnerTextOptions() - Constructor for class com.microsoft.playwright.Page.InnerTextOptions
- inputValue() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns
input.value
for the selected<input>
or<textarea>
or<select>
element. - inputValue() - Method in interface com.microsoft.playwright.Locator
-
Returns the value for the matching
<input>
or<textarea>
or<select>
element. - inputValue(ElementHandle.InputValueOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns
input.value
for the selected<input>
or<textarea>
or<select>
element. - inputValue(Locator.InputValueOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns the value for the matching
<input>
or<textarea>
or<select>
element. - inputValue(String) - Method in interface com.microsoft.playwright.Frame
-
Returns
input.value
for the selected<input>
or<textarea>
or<select>
element. - inputValue(String) - Method in interface com.microsoft.playwright.Page
-
Returns
input.value
for the selected<input>
or<textarea>
or<select>
element. - inputValue(String, Frame.InputValueOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns
input.value
for the selected<input>
or<textarea>
or<select>
element. - inputValue(String, Page.InputValueOptions) - Method in interface com.microsoft.playwright.Page
-
Returns
input.value
for the selected<input>
or<textarea>
or<select>
element. - InputValueOptions() - Constructor for class com.microsoft.playwright.ElementHandle.InputValueOptions
- InputValueOptions() - Constructor for class com.microsoft.playwright.Frame.InputValueOptions
- InputValueOptions() - Constructor for class com.microsoft.playwright.Locator.InputValueOptions
- InputValueOptions() - Constructor for class com.microsoft.playwright.Page.InputValueOptions
- INSERTION - com.microsoft.playwright.options.AriaRole
- insertText(String) - Method in interface com.microsoft.playwright.Keyboard
-
Dispatches only
input
event, does not emit thekeydown
,keyup
orkeypress
events. - install() - Method in interface com.microsoft.playwright.Clock
-
Install fake implementations for the following time-related functions:
Date
setTimeout
clearTimeout
setInterval
clearInterval
requestAnimationFrame
cancelAnimationFrame
requestIdleCallback
cancelIdleCallback
performance
- install(Clock.InstallOptions) - Method in interface com.microsoft.playwright.Clock
-
Install fake implementations for the following time-related functions:
Date
setTimeout
clearTimeout
setInterval
clearInterval
requestAnimationFrame
cancelAnimationFrame
requestIdleCallback
cancelIdleCallback
performance
- InstallOptions() - Constructor for class com.microsoft.playwright.Clock.InstallOptions
- ipAddress - Variable in class com.microsoft.playwright.options.ServerAddr
-
IPv4 or IPV6 address of the server.
- isAttached() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures that
Locator
points to an element that is connected to a Document or a ShadowRoot. - isAttached(LocatorAssertions.IsAttachedOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures that
Locator
points to an element that is connected to a Document or a ShadowRoot. - IsAttachedOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsAttachedOptions
- isChecked() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to a checked input. - isChecked() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns whether the element is checked.
- isChecked() - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is checked.
- isChecked(LocatorAssertions.IsCheckedOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to a checked input. - isChecked(Locator.IsCheckedOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is checked.
- isChecked(String) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is checked.
- isChecked(String) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is checked.
- isChecked(String, Frame.IsCheckedOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is checked.
- isChecked(String, Page.IsCheckedOptions) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is checked.
- IsCheckedOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsCheckedOptions
- IsCheckedOptions() - Constructor for class com.microsoft.playwright.Frame.IsCheckedOptions
- IsCheckedOptions() - Constructor for class com.microsoft.playwright.Locator.IsCheckedOptions
- IsCheckedOptions() - Constructor for class com.microsoft.playwright.Page.IsCheckedOptions
- isClosed() - Method in interface com.microsoft.playwright.Page
-
Indicates that the page has been closed.
- isClosed() - Method in interface com.microsoft.playwright.WebSocket
-
Indicates that the web socket has been closed.
- isConnected() - Method in interface com.microsoft.playwright.Browser
-
Indicates that the browser is connected.
- isDetached() - Method in interface com.microsoft.playwright.Frame
-
Returns
true
if the frame has been detached, orfalse
otherwise. - isDisabled() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to a disabled element. - isDisabled() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns whether the element is disabled, the opposite of enabled.
- isDisabled() - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is disabled, the opposite of enabled.
- isDisabled(LocatorAssertions.IsDisabledOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to a disabled element. - isDisabled(Locator.IsDisabledOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is disabled, the opposite of enabled.
- isDisabled(String) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is disabled, the opposite of enabled.
- isDisabled(String) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is disabled, the opposite of enabled.
- isDisabled(String, Frame.IsDisabledOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is disabled, the opposite of enabled.
- isDisabled(String, Page.IsDisabledOptions) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is disabled, the opposite of enabled.
- IsDisabledOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsDisabledOptions
- IsDisabledOptions() - Constructor for class com.microsoft.playwright.Frame.IsDisabledOptions
- IsDisabledOptions() - Constructor for class com.microsoft.playwright.Locator.IsDisabledOptions
- IsDisabledOptions() - Constructor for class com.microsoft.playwright.Page.IsDisabledOptions
- isEditable() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an editable element. - isEditable() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns whether the element is editable.
- isEditable() - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is editable.
- isEditable(LocatorAssertions.IsEditableOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an editable element. - isEditable(Locator.IsEditableOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is editable.
- isEditable(String) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is editable.
- isEditable(String) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is editable.
- isEditable(String, Frame.IsEditableOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is editable.
- isEditable(String, Page.IsEditableOptions) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is editable.
- IsEditableOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsEditableOptions
- IsEditableOptions() - Constructor for class com.microsoft.playwright.Frame.IsEditableOptions
- IsEditableOptions() - Constructor for class com.microsoft.playwright.Locator.IsEditableOptions
- IsEditableOptions() - Constructor for class com.microsoft.playwright.Page.IsEditableOptions
- isEmpty() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an empty editable element or to a DOM node that has no text. - isEmpty(LocatorAssertions.IsEmptyOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an empty editable element or to a DOM node that has no text. - IsEmptyOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsEmptyOptions
- isEnabled() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an enabled element. - isEnabled() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns whether the element is enabled.
- isEnabled() - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is enabled.
- isEnabled(LocatorAssertions.IsEnabledOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an enabled element. - isEnabled(Locator.IsEnabledOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is enabled.
- isEnabled(String) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is enabled.
- isEnabled(String) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is enabled.
- isEnabled(String, Frame.IsEnabledOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is enabled.
- isEnabled(String, Page.IsEnabledOptions) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is enabled.
- IsEnabledOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsEnabledOptions
- IsEnabledOptions() - Constructor for class com.microsoft.playwright.Frame.IsEnabledOptions
- IsEnabledOptions() - Constructor for class com.microsoft.playwright.Locator.IsEnabledOptions
- IsEnabledOptions() - Constructor for class com.microsoft.playwright.Page.IsEnabledOptions
- isFocused() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to a focused DOM node. - isFocused(LocatorAssertions.IsFocusedOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to a focused DOM node. - IsFocusedOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsFocusedOptions
- isHidden() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures that
Locator
either does not resolve to any DOM node, or resolves to a non-visible one. - isHidden() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns whether the element is hidden, the opposite of visible.
- isHidden() - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is hidden, the opposite of visible.
- isHidden(LocatorAssertions.IsHiddenOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures that
Locator
either does not resolve to any DOM node, or resolves to a non-visible one. - isHidden(Locator.IsHiddenOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is hidden, the opposite of visible.
- isHidden(String) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is hidden, the opposite of visible.
- isHidden(String) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is hidden, the opposite of visible.
- isHidden(String, Frame.IsHiddenOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is hidden, the opposite of visible.
- isHidden(String, Page.IsHiddenOptions) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is hidden, the opposite of visible.
- IsHiddenOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsHiddenOptions
- IsHiddenOptions() - Constructor for class com.microsoft.playwright.Frame.IsHiddenOptions
- IsHiddenOptions() - Constructor for class com.microsoft.playwright.Locator.IsHiddenOptions
- IsHiddenOptions() - Constructor for class com.microsoft.playwright.Page.IsHiddenOptions
- isInViewport() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that intersects viewport, according to the intersection observer API. - isInViewport(LocatorAssertions.IsInViewportOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures the
Locator
points to an element that intersects viewport, according to the intersection observer API. - IsInViewportOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsInViewportOptions
- isMobile - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether the
meta viewport
tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. - isMobile - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether the
meta viewport
tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. - isMobile - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether the
meta viewport
tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. - isMultiple() - Method in interface com.microsoft.playwright.FileChooser
-
Returns whether this file chooser accepts multiple files.
- isNavigationRequest() - Method in interface com.microsoft.playwright.Request
-
Whether this request is driving frame's navigation.
- isOK() - Method in interface com.microsoft.playwright.assertions.APIResponseAssertions
-
Ensures the response status code is within
200..299
range. - issuer - Variable in class com.microsoft.playwright.options.SecurityDetails
-
Common Name component of the Issuer field. from the certificate.
- isVisible() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures that
Locator
points to an attached and visible DOM node. - isVisible() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns whether the element is visible.
- isVisible() - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is visible.
- isVisible(LocatorAssertions.IsVisibleOptions) - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Ensures that
Locator
points to an attached and visible DOM node. - isVisible(Locator.IsVisibleOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns whether the element is visible.
- isVisible(String) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is visible.
- isVisible(String) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is visible.
- isVisible(String, Frame.IsVisibleOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns whether the element is visible.
- isVisible(String, Page.IsVisibleOptions) - Method in interface com.microsoft.playwright.Page
-
Returns whether the element is visible.
- IsVisibleOptions() - Constructor for class com.microsoft.playwright.assertions.LocatorAssertions.IsVisibleOptions
- IsVisibleOptions() - Constructor for class com.microsoft.playwright.Frame.IsVisibleOptions
- IsVisibleOptions() - Constructor for class com.microsoft.playwright.Locator.IsVisibleOptions
- IsVisibleOptions() - Constructor for class com.microsoft.playwright.Page.IsVisibleOptions
J
- javaScriptEnabled - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether or not to enable JavaScript in the context.
- javaScriptEnabled - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether or not to enable JavaScript in the context.
- javaScriptEnabled - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether or not to enable JavaScript in the context.
- JPEG - com.microsoft.playwright.options.ScreenshotType
- JSHandle - Interface in com.microsoft.playwright
-
JSHandle represents an in-page JavaScript object.
- jsonValue() - Method in interface com.microsoft.playwright.JSHandle
-
Returns a JSON representation of the object.
K
- key - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Direct value of the private key in PEM format.
- keyboard() - Method in interface com.microsoft.playwright.Page
- Keyboard - Interface in com.microsoft.playwright
-
Keyboard provides an api for managing a virtual keyboard.
- Keyboard.PressOptions - Class in com.microsoft.playwright
- Keyboard.TypeOptions - Class in com.microsoft.playwright
- KeyboardModifier - Enum in com.microsoft.playwright.options
- keyPath - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Path to the file with the private key in PEM format.
L
- label - Variable in class com.microsoft.playwright.options.SelectOption
-
Matches by
option.label
. - landscape - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Paper orientation.
- last() - Method in interface com.microsoft.playwright.FrameLocator
-
Returns locator to the last matching frame.
- last() - Method in interface com.microsoft.playwright.Locator
-
Returns locator to the last matching element.
- latitude - Variable in class com.microsoft.playwright.options.Geolocation
-
Latitude between -90 and 90.
- launch() - Method in interface com.microsoft.playwright.BrowserType
-
Returns the browser instance.
- launch(BrowserType.LaunchOptions) - Method in interface com.microsoft.playwright.BrowserType
-
Returns the browser instance.
- launchOptions - Variable in class com.microsoft.playwright.junit.Options
- LaunchOptions() - Constructor for class com.microsoft.playwright.BrowserType.LaunchOptions
- launchPersistentContext(Path) - Method in interface com.microsoft.playwright.BrowserType
-
Returns the persistent browser context instance.
- launchPersistentContext(Path, BrowserType.LaunchPersistentContextOptions) - Method in interface com.microsoft.playwright.BrowserType
-
Returns the persistent browser context instance.
- LaunchPersistentContextOptions() - Constructor for class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- LAX - com.microsoft.playwright.options.SameSiteAttribute
- left - Variable in class com.microsoft.playwright.options.Margin
-
Left margin, accepts values labeled with units.
- LEFT - com.microsoft.playwright.options.MouseButton
- level - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - level - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - level - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - level - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - LIGHT - com.microsoft.playwright.options.ColorScheme
- LINK - com.microsoft.playwright.options.AriaRole
- LIST - com.microsoft.playwright.options.AriaRole
- LISTBOX - com.microsoft.playwright.options.AriaRole
- LISTITEM - com.microsoft.playwright.options.AriaRole
- LOAD - com.microsoft.playwright.options.LoadState
- LOAD - com.microsoft.playwright.options.WaitUntilState
- LoadState - Enum in com.microsoft.playwright.options
- locale - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Specify user locale, for example
en-GB
,de-DE
, etc. - locale - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Specify user locale, for example
en-GB
,de-DE
, etc. - locale - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specify user locale, for example
en-GB
,de-DE
, etc. - location() - Method in interface com.microsoft.playwright.ConsoleMessage
-
URL of the resource followed by 0-based line and column numbers in the resource formatted as
URL:line:column
. - locator(Locator) - Method in interface com.microsoft.playwright.FrameLocator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(Locator) - Method in interface com.microsoft.playwright.Locator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(Locator, FrameLocator.LocatorOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(Locator, Locator.LocatorOptions) - Method in interface com.microsoft.playwright.Locator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(String) - Method in interface com.microsoft.playwright.Frame
-
The method returns an element locator that can be used to perform actions on this page / frame.
- locator(String) - Method in interface com.microsoft.playwright.FrameLocator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(String) - Method in interface com.microsoft.playwright.Locator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(String) - Method in interface com.microsoft.playwright.Page
-
The method returns an element locator that can be used to perform actions on this page / frame.
- locator(String, Frame.LocatorOptions) - Method in interface com.microsoft.playwright.Frame
-
The method returns an element locator that can be used to perform actions on this page / frame.
- locator(String, FrameLocator.LocatorOptions) - Method in interface com.microsoft.playwright.FrameLocator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(String, Locator.LocatorOptions) - Method in interface com.microsoft.playwright.Locator
-
The method finds an element matching the specified selector in the locator's subtree.
- locator(String, Page.LocatorOptions) - Method in interface com.microsoft.playwright.Page
-
The method returns an element locator that can be used to perform actions on this page / frame.
- Locator - Interface in com.microsoft.playwright
-
Locators are the central piece of Playwright's auto-waiting and retry-ability.
- Locator.BlurOptions - Class in com.microsoft.playwright
- Locator.BoundingBoxOptions - Class in com.microsoft.playwright
- Locator.CheckOptions - Class in com.microsoft.playwright
- Locator.ClearOptions - Class in com.microsoft.playwright
- Locator.ClickOptions - Class in com.microsoft.playwright
- Locator.DblclickOptions - Class in com.microsoft.playwright
- Locator.DispatchEventOptions - Class in com.microsoft.playwright
- Locator.DragToOptions - Class in com.microsoft.playwright
- Locator.ElementHandleOptions - Class in com.microsoft.playwright
- Locator.EvaluateHandleOptions - Class in com.microsoft.playwright
- Locator.EvaluateOptions - Class in com.microsoft.playwright
- Locator.FillOptions - Class in com.microsoft.playwright
- Locator.FilterOptions - Class in com.microsoft.playwright
- Locator.FocusOptions - Class in com.microsoft.playwright
- Locator.GetAttributeOptions - Class in com.microsoft.playwright
- Locator.GetByAltTextOptions - Class in com.microsoft.playwright
- Locator.GetByLabelOptions - Class in com.microsoft.playwright
- Locator.GetByPlaceholderOptions - Class in com.microsoft.playwright
- Locator.GetByRoleOptions - Class in com.microsoft.playwright
- Locator.GetByTextOptions - Class in com.microsoft.playwright
- Locator.GetByTitleOptions - Class in com.microsoft.playwright
- Locator.HoverOptions - Class in com.microsoft.playwright
- Locator.InnerHTMLOptions - Class in com.microsoft.playwright
- Locator.InnerTextOptions - Class in com.microsoft.playwright
- Locator.InputValueOptions - Class in com.microsoft.playwright
- Locator.IsCheckedOptions - Class in com.microsoft.playwright
- Locator.IsDisabledOptions - Class in com.microsoft.playwright
- Locator.IsEditableOptions - Class in com.microsoft.playwright
- Locator.IsEnabledOptions - Class in com.microsoft.playwright
- Locator.IsHiddenOptions - Class in com.microsoft.playwright
- Locator.IsVisibleOptions - Class in com.microsoft.playwright
- Locator.LocatorOptions - Class in com.microsoft.playwright
- Locator.PressOptions - Class in com.microsoft.playwright
- Locator.PressSequentiallyOptions - Class in com.microsoft.playwright
- Locator.ScreenshotOptions - Class in com.microsoft.playwright
- Locator.ScrollIntoViewIfNeededOptions - Class in com.microsoft.playwright
- Locator.SelectOptionOptions - Class in com.microsoft.playwright
- Locator.SelectTextOptions - Class in com.microsoft.playwright
- Locator.SetCheckedOptions - Class in com.microsoft.playwright
- Locator.SetInputFilesOptions - Class in com.microsoft.playwright
- Locator.TapOptions - Class in com.microsoft.playwright
- Locator.TextContentOptions - Class in com.microsoft.playwright
- Locator.TypeOptions - Class in com.microsoft.playwright
- Locator.UncheckOptions - Class in com.microsoft.playwright
- Locator.WaitForOptions - Class in com.microsoft.playwright
- LocatorAssertions - Interface in com.microsoft.playwright.assertions
-
The
LocatorAssertions
class provides assertion methods that can be used to make assertions about theLocator
state in the tests. - LocatorAssertions.ContainsTextOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasAccessibleDescriptionOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasAccessibleNameOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasAttributeOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasClassOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasCountOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasCSSOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasIdOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasJSPropertyOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasRoleOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasTextOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasValueOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.HasValuesOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsAttachedOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsCheckedOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsDisabledOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsEditableOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsEmptyOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsEnabledOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsFocusedOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsHiddenOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsInViewportOptions - Class in com.microsoft.playwright.assertions
- LocatorAssertions.IsVisibleOptions - Class in com.microsoft.playwright.assertions
- LocatorOptions() - Constructor for class com.microsoft.playwright.Frame.LocatorOptions
- LocatorOptions() - Constructor for class com.microsoft.playwright.FrameLocator.LocatorOptions
- LocatorOptions() - Constructor for class com.microsoft.playwright.Locator.LocatorOptions
- LocatorOptions() - Constructor for class com.microsoft.playwright.Page.LocatorOptions
- LOG - com.microsoft.playwright.options.AriaRole
- longitude - Variable in class com.microsoft.playwright.options.Geolocation
-
Longitude between -180 and 180.
M
- main(String[]) - Static method in class com.microsoft.playwright.CLI
- MAIN - com.microsoft.playwright.options.AriaRole
- mainFrame() - Method in interface com.microsoft.playwright.Page
-
The page's main frame.
- margin - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Paper margins, defaults to none.
- Margin - Class in com.microsoft.playwright.options
- Margin() - Constructor for class com.microsoft.playwright.options.Margin
- MARQUEE - com.microsoft.playwright.options.AriaRole
- mask - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Specify locators that should be masked when the screenshot is taken.
- mask - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Specify locators that should be masked when the screenshot is taken.
- mask - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
Specify locators that should be masked when the screenshot is taken.
- maskColor - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Specify the color of the overlay box for masked elements, in CSS color format.
- maskColor - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Specify the color of the overlay box for masked elements, in CSS color format.
- maskColor - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
Specify the color of the overlay box for masked elements, in CSS color format.
- MATH - com.microsoft.playwright.options.AriaRole
- maxRedirects - Variable in class com.microsoft.playwright.Route.FetchOptions
-
Maximum number of request redirects that will be followed automatically.
- maxRetries - Variable in class com.microsoft.playwright.Route.FetchOptions
-
Maximum number of times network errors should be retried.
- media - Variable in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Changes the CSS media type of the page.
- Media - Enum in com.microsoft.playwright.options
- MENU - com.microsoft.playwright.options.AriaRole
- MENUBAR - com.microsoft.playwright.options.AriaRole
- MENUITEM - com.microsoft.playwright.options.AriaRole
- MENUITEMCHECKBOX - com.microsoft.playwright.options.AriaRole
- MENUITEMRADIO - com.microsoft.playwright.options.AriaRole
- message() - Method in interface com.microsoft.playwright.Dialog
-
A message displayed in the dialog.
- META - com.microsoft.playwright.options.KeyboardModifier
- METER - com.microsoft.playwright.options.AriaRole
- method - Variable in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the request method (e.g.
- method - Variable in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the request method (e.g.
- method - Variable in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the request method (e.g.
- method() - Method in interface com.microsoft.playwright.Request
-
Request's method (GET, POST, etc.)
- MIDDLE - com.microsoft.playwright.options.MouseButton
- mimeType - Variable in class com.microsoft.playwright.options.FilePayload
-
File type
- MINIMAL - com.microsoft.playwright.options.HarMode
- modifiers - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.ElementHandle.TapOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Frame.TapOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Locator.HoverOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Locator.TapOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Page.ClickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Page.HoverOptions
-
Modifier keys to press.
- modifiers - Variable in class com.microsoft.playwright.Page.TapOptions
-
Modifier keys to press.
- mouse() - Method in interface com.microsoft.playwright.Page
- Mouse - Interface in com.microsoft.playwright
-
The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
- Mouse.ClickOptions - Class in com.microsoft.playwright
- Mouse.DblclickOptions - Class in com.microsoft.playwright
- Mouse.DownOptions - Class in com.microsoft.playwright
- Mouse.MoveOptions - Class in com.microsoft.playwright
- Mouse.UpOptions - Class in com.microsoft.playwright
- MouseButton - Enum in com.microsoft.playwright.options
- move(double, double) - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
mousemove
event. - move(double, double, Mouse.MoveOptions) - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
mousemove
event. - MoveOptions() - Constructor for class com.microsoft.playwright.Mouse.MoveOptions
- MSEDGE - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- MSEDGE_BETA - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- MSEDGE_CANARY - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
- MSEDGE_DEV - com.microsoft.playwright.options.BrowserChannel
-
Deprecated.
N
- name - Variable in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given name.
- name - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Option to match the accessible name.
- name - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Option to match the accessible name.
- name - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Option to match the accessible name.
- name - Variable in class com.microsoft.playwright.options.Cookie
- name - Variable in class com.microsoft.playwright.options.FilePayload
-
File name
- name - Variable in class com.microsoft.playwright.options.HttpHeader
-
Name of the header.
- name - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
Option to match the accessible name.
- name - Variable in class com.microsoft.playwright.Tracing.StartChunkOptions
-
If specified, intermediate trace files are going to be saved into the files with the given name prefix inside the
tracesDir
folder specified inBrowserType.launch()
. - name - Variable in class com.microsoft.playwright.Tracing.StartOptions
-
If specified, intermediate trace files are going to be saved into the files with the given name prefix inside the
tracesDir
folder specified inBrowserType.launch()
. - name() - Method in interface com.microsoft.playwright.BrowserType
-
Returns browser name.
- name() - Method in interface com.microsoft.playwright.Frame
-
Returns frame's name attribute as specified in the tag.
- navigate(String) - Method in interface com.microsoft.playwright.Frame
-
Returns the main resource response.
- navigate(String) - Method in interface com.microsoft.playwright.Page
-
Returns the main resource response.
- navigate(String, Frame.NavigateOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns the main resource response.
- navigate(String, Page.NavigateOptions) - Method in interface com.microsoft.playwright.Page
-
Returns the main resource response.
- NavigateOptions() - Constructor for class com.microsoft.playwright.Frame.NavigateOptions
- NavigateOptions() - Constructor for class com.microsoft.playwright.Page.NavigateOptions
- NAVIGATION - com.microsoft.playwright.options.AriaRole
- NETWORKIDLE - com.microsoft.playwright.options.LoadState
- NETWORKIDLE - com.microsoft.playwright.options.WaitUntilState
- newBrowserCDPSession() - Method in interface com.microsoft.playwright.Browser
-
NOTE: CDP Sessions are only supported on Chromium-based browsers.
- newCDPSession(Frame) - Method in interface com.microsoft.playwright.BrowserContext
-
NOTE: CDP sessions are only supported on Chromium-based browsers.
- newCDPSession(Page) - Method in interface com.microsoft.playwright.BrowserContext
-
NOTE: CDP sessions are only supported on Chromium-based browsers.
- newContext() - Method in interface com.microsoft.playwright.APIRequest
-
Creates new instances of
APIRequestContext
. - newContext() - Method in interface com.microsoft.playwright.Browser
-
Creates a new browser context.
- newContext(APIRequest.NewContextOptions) - Method in interface com.microsoft.playwright.APIRequest
-
Creates new instances of
APIRequestContext
. - newContext(Browser.NewContextOptions) - Method in interface com.microsoft.playwright.Browser
-
Creates a new browser context.
- NewContextOptions() - Constructor for class com.microsoft.playwright.APIRequest.NewContextOptions
- NewContextOptions() - Constructor for class com.microsoft.playwright.Browser.NewContextOptions
- newPage() - Method in interface com.microsoft.playwright.Browser
-
Creates a new page in a new browser context.
- newPage() - Method in interface com.microsoft.playwright.BrowserContext
-
Creates a new page in the browser context.
- newPage(Browser.NewPageOptions) - Method in interface com.microsoft.playwright.Browser
-
Creates a new page in a new browser context.
- NewPageOptions() - Constructor for class com.microsoft.playwright.Browser.NewPageOptions
- NO_PREFERENCE - com.microsoft.playwright.options.ColorScheme
- NO_PREFERENCE - com.microsoft.playwright.options.ReducedMotion
- NONE - com.microsoft.playwright.options.AriaRole
- NONE - com.microsoft.playwright.options.ForcedColors
- NONE - com.microsoft.playwright.options.SameSiteAttribute
- not() - Method in interface com.microsoft.playwright.assertions.APIResponseAssertions
-
Makes the assertion check for the opposite condition.
- not() - Method in interface com.microsoft.playwright.assertions.LocatorAssertions
-
Makes the assertion check for the opposite condition.
- not() - Method in interface com.microsoft.playwright.assertions.PageAssertions
-
Makes the assertion check for the opposite condition.
- NOTE - com.microsoft.playwright.options.AriaRole
- notFound - Variable in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
If set to 'abort' any request not found in the HAR file will be aborted. If set to 'fallback' falls through to the next route handler in the handler chain.
- notFound - Variable in class com.microsoft.playwright.Page.RouteFromHAROptions
-
If set to 'abort' any request not found in the HAR file will be aborted. If set to 'fallback' missing requests will be sent to the network.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.CheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.FillOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.PressOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.SetInputFilesOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.TapOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.TypeOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.FileChooser.SetFilesOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.CheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.FillOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.PressOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.Frame.SelectOptionOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.SetCheckedOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.SetInputFilesOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.TapOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.TypeOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Frame.UncheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.CheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.ClearOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.DragToOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.FillOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.HoverOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.PressOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.Locator.PressSequentiallyOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.SelectOptionOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.SetCheckedOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.SetInputFilesOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.TapOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.TypeOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Locator.UncheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.AddLocatorHandlerOptions
-
By default, after calling the handler Playwright will wait until the overlay becomes hidden, and only then Playwright will continue with the action/assertion that triggered the handler.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.CheckOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.ClickOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.FillOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.HoverOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.PressOptions
-
Deprecated.This option will default to
true
in the future. - noWaitAfter - Variable in class com.microsoft.playwright.Page.SelectOptionOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.SetCheckedOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.SetInputFilesOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.TapOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.TypeOptions
-
Deprecated.This option has no effect.
- noWaitAfter - Variable in class com.microsoft.playwright.Page.UncheckOptions
-
Deprecated.This option has no effect.
- nth(int) - Method in interface com.microsoft.playwright.FrameLocator
-
Returns locator to the n-th matching frame.
- nth(int) - Method in interface com.microsoft.playwright.Locator
-
Returns locator to the n-th matching element.
O
- off(String, Consumer<JsonObject>) - Method in interface com.microsoft.playwright.CDPSession
-
Unregister an event handler for events with the specified event name.
- OFF - com.microsoft.playwright.junit.Options.Trace
- offBackgroundPage(Consumer<Page>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onBackgroundPage(handler)
. - offClose(Consumer<BrowserContext>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onClose(handler)
. - offClose(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onClose(handler)
. - offClose(Consumer<WebSocket>) - Method in interface com.microsoft.playwright.WebSocket
-
Removes handler that was previously added with
onClose(handler)
. - offClose(Consumer<Worker>) - Method in interface com.microsoft.playwright.Worker
-
Removes handler that was previously added with
onClose(handler)
. - offConsoleMessage(Consumer<ConsoleMessage>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onConsoleMessage(handler)
. - offConsoleMessage(Consumer<ConsoleMessage>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onConsoleMessage(handler)
. - offCrash(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onCrash(handler)
. - offDialog(Consumer<Dialog>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onDialog(handler)
. - offDialog(Consumer<Dialog>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onDialog(handler)
. - offDisconnected(Consumer<Browser>) - Method in interface com.microsoft.playwright.Browser
-
Removes handler that was previously added with
onDisconnected(handler)
. - offDOMContentLoaded(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onDOMContentLoaded(handler)
. - offDownload(Consumer<Download>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onDownload(handler)
. - offFileChooser(Consumer<FileChooser>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onFileChooser(handler)
. - offFrameAttached(Consumer<Frame>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onFrameAttached(handler)
. - offFrameDetached(Consumer<Frame>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onFrameDetached(handler)
. - offFrameNavigated(Consumer<Frame>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onFrameNavigated(handler)
. - offFrameReceived(Consumer<WebSocketFrame>) - Method in interface com.microsoft.playwright.WebSocket
-
Removes handler that was previously added with
onFrameReceived(handler)
. - offFrameSent(Consumer<WebSocketFrame>) - Method in interface com.microsoft.playwright.WebSocket
-
Removes handler that was previously added with
onFrameSent(handler)
. - offline - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to emulate network being offline.
- offline - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to emulate network being offline.
- offline - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to emulate network being offline.
- offLoad(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onLoad(handler)
. - offPage(Consumer<Page>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onPage(handler)
. - offPageError(Consumer<String>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onPageError(handler)
. - offPopup(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onPopup(handler)
. - offRequest(Consumer<Request>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onRequest(handler)
. - offRequest(Consumer<Request>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onRequest(handler)
. - offRequestFailed(Consumer<Request>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onRequestFailed(handler)
. - offRequestFailed(Consumer<Request>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onRequestFailed(handler)
. - offRequestFinished(Consumer<Request>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onRequestFinished(handler)
. - offRequestFinished(Consumer<Request>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onRequestFinished(handler)
. - offResponse(Consumer<Response>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onResponse(handler)
. - offResponse(Consumer<Response>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onResponse(handler)
. - offSocketError(Consumer<String>) - Method in interface com.microsoft.playwright.WebSocket
-
Removes handler that was previously added with
onSocketError(handler)
. - offWebError(Consumer<WebError>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes handler that was previously added with
onWebError(handler)
. - offWebSocket(Consumer<WebSocket>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onWebSocket(handler)
. - offWorker(Consumer<Worker>) - Method in interface com.microsoft.playwright.Page
-
Removes handler that was previously added with
onWorker(handler)
. - ok() - Method in interface com.microsoft.playwright.APIResponse
-
Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
- ok() - Method in interface com.microsoft.playwright.Response
-
Contains a boolean stating whether the response was successful (status in the range 200-299) or not.
- OMIT - com.microsoft.playwright.options.HarContentPolicy
- omitBackground - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Hides default white background and allows capturing screenshots with transparency.
- omitBackground - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Hides default white background and allows capturing screenshots with transparency.
- omitBackground - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
Hides default white background and allows capturing screenshots with transparency.
- on(String, Consumer<JsonObject>) - Method in interface com.microsoft.playwright.CDPSession
-
Register an event handler for events with the specified event name.
- ON - com.microsoft.playwright.junit.Options.Trace
- onBackgroundPage(Consumer<Page>) - Method in interface com.microsoft.playwright.BrowserContext
-
NOTE: Only works with Chromium browser's persistent context.
- onceDialog(Consumer<Dialog>) - Method in interface com.microsoft.playwright.Page
-
Adds one-off
Dialog
handler. - onClose(Consumer<BrowserContext>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when Browser context gets closed.
- onClose(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Emitted when the page closes.
- onClose(Consumer<WebSocket>) - Method in interface com.microsoft.playwright.WebSocket
-
Fired when the websocket closes.
- onClose(Consumer<Worker>) - Method in interface com.microsoft.playwright.Worker
-
Emitted when this dedicated WebWorker is terminated.
- onConsoleMessage(Consumer<ConsoleMessage>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when JavaScript within the page calls one of console API methods, e.g.
- onConsoleMessage(Consumer<ConsoleMessage>) - Method in interface com.microsoft.playwright.Page
-
Emitted when JavaScript within the page calls one of console API methods, e.g.
- onCrash(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Emitted when the page crashes.
- onDialog(Consumer<Dialog>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when a JavaScript dialog appears, such as
alert
,prompt
,confirm
orbeforeunload
. - onDialog(Consumer<Dialog>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a JavaScript dialog appears, such as
alert
,prompt
,confirm
orbeforeunload
. - onDisconnected(Consumer<Browser>) - Method in interface com.microsoft.playwright.Browser
-
Emitted when Browser gets disconnected from the browser application.
- onDOMContentLoaded(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Emitted when the JavaScript
DOMContentLoaded
event is dispatched. - onDownload(Consumer<Download>) - Method in interface com.microsoft.playwright.Page
-
Emitted when attachment download started.
- onFileChooser(Consumer<FileChooser>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a file chooser is supposed to appear, such as after clicking the
<input type=file>
. - onFrameAttached(Consumer<Frame>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a frame is attached.
- onFrameDetached(Consumer<Frame>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a frame is detached.
- onFrameNavigated(Consumer<Frame>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a frame is navigated to a new url.
- onFrameReceived(Consumer<WebSocketFrame>) - Method in interface com.microsoft.playwright.WebSocket
-
Fired when the websocket receives a frame.
- onFrameSent(Consumer<WebSocketFrame>) - Method in interface com.microsoft.playwright.WebSocket
-
Fired when the websocket sends a frame.
- onLoad(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Emitted when the JavaScript
load
event is dispatched. - onPage(Consumer<Page>) - Method in interface com.microsoft.playwright.BrowserContext
-
The event is emitted when a new Page is created in the BrowserContext.
- onPageError(Consumer<String>) - Method in interface com.microsoft.playwright.Page
-
Emitted when an uncaught exception happens within the page.
- onPopup(Consumer<Page>) - Method in interface com.microsoft.playwright.Page
-
Emitted when the page opens a new tab or window.
- onRequest(Consumer<Request>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when a request is issued from any pages created through this context.
- onRequest(Consumer<Request>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a page issues a request.
- onRequestFailed(Consumer<Request>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when a request fails, for example by timing out.
- onRequestFailed(Consumer<Request>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a request fails, for example by timing out.
- onRequestFinished(Consumer<Request>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when a request finishes successfully after downloading the response body.
- onRequestFinished(Consumer<Request>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a request finishes successfully after downloading the response body.
- onResponse(Consumer<Response>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when [response] status and headers are received for a request.
- onResponse(Consumer<Response>) - Method in interface com.microsoft.playwright.Page
-
Emitted when [response] status and headers are received for a request.
- onSocketError(Consumer<String>) - Method in interface com.microsoft.playwright.WebSocket
-
Fired when the websocket has an error.
- onWebError(Consumer<WebError>) - Method in interface com.microsoft.playwright.BrowserContext
-
Emitted when exception is unhandled in any of the pages in this context.
- onWebSocket(Consumer<WebSocket>) - Method in interface com.microsoft.playwright.Page
-
Emitted when
WebSocket
request is sent. - onWorker(Consumer<Worker>) - Method in interface com.microsoft.playwright.Page
-
Emitted when a dedicated WebWorker is spawned by the page.
- opener() - Method in interface com.microsoft.playwright.Page
-
Returns the opener for popup pages and
null
for others. - OPTION - com.microsoft.playwright.options.AriaRole
- Options - Class in com.microsoft.playwright.junit
-
NOTE: this API is experimental and is subject to changes.
- Options() - Constructor for class com.microsoft.playwright.junit.Options
- Options.Trace - Enum in com.microsoft.playwright.junit
- OptionsExtension - Class in com.microsoft.playwright.impl.junit
- OptionsExtension() - Constructor for class com.microsoft.playwright.impl.junit.OptionsExtension
- OptionsFactory - Interface in com.microsoft.playwright.junit
-
NOTE: this API is experimental and is subject to changes.
- or(Locator) - Method in interface com.microsoft.playwright.Locator
-
Creates a locator that matches either of the two locators.
- origin - Variable in class com.microsoft.playwright.BrowserContext.GrantPermissionsOptions
-
The [origin] to grant permissions to, e.g.
- origin - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Exact origin that the certificate is valid for.
- origin - Variable in class com.microsoft.playwright.options.HttpCredentials
-
Restrain sending http credentials on specific origin (scheme://host:port).
- outline - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Whether or not to embed the document outline into the PDF.
- outputDir - Variable in class com.microsoft.playwright.junit.Options
- owner() - Method in interface com.microsoft.playwright.FrameLocator
-
Returns a
Locator
object pointing to the sameiframe
as this frame locator. - ownerFrame() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the frame containing the given element.
P
- page() - Method in interface com.microsoft.playwright.ConsoleMessage
-
The page that produced this console message, if any.
- page() - Method in interface com.microsoft.playwright.Dialog
-
The page that initiated this dialog, if available.
- page() - Method in interface com.microsoft.playwright.Download
-
Get the page that the download belongs to.
- page() - Method in interface com.microsoft.playwright.FileChooser
-
Returns page this file chooser belongs to.
- page() - Method in interface com.microsoft.playwright.Frame
-
Returns the page containing this frame.
- page() - Method in interface com.microsoft.playwright.Locator
-
A page this locator belongs to.
- page() - Method in interface com.microsoft.playwright.options.BindingCallback.Source
- page() - Method in interface com.microsoft.playwright.WebError
-
The page that produced this unhandled exception, if any.
- Page - Interface in com.microsoft.playwright
-
Page provides methods to interact with a single tab in a
Browser
, or an extension background page in Chromium. - Page.AddLocatorHandlerOptions - Class in com.microsoft.playwright
- Page.AddScriptTagOptions - Class in com.microsoft.playwright
- Page.AddStyleTagOptions - Class in com.microsoft.playwright
- Page.CheckOptions - Class in com.microsoft.playwright
- Page.ClickOptions - Class in com.microsoft.playwright
- Page.CloseOptions - Class in com.microsoft.playwright
- Page.DblclickOptions - Class in com.microsoft.playwright
- Page.DispatchEventOptions - Class in com.microsoft.playwright
- Page.DragAndDropOptions - Class in com.microsoft.playwright
- Page.EmulateMediaOptions - Class in com.microsoft.playwright
- Page.EvalOnSelectorOptions - Class in com.microsoft.playwright
- Page.ExposeBindingOptions - Class in com.microsoft.playwright
- Page.FillOptions - Class in com.microsoft.playwright
- Page.FocusOptions - Class in com.microsoft.playwright
- Page.GetAttributeOptions - Class in com.microsoft.playwright
- Page.GetByAltTextOptions - Class in com.microsoft.playwright
- Page.GetByLabelOptions - Class in com.microsoft.playwright
- Page.GetByPlaceholderOptions - Class in com.microsoft.playwright
- Page.GetByRoleOptions - Class in com.microsoft.playwright
- Page.GetByTextOptions - Class in com.microsoft.playwright
- Page.GetByTitleOptions - Class in com.microsoft.playwright
- Page.GoBackOptions - Class in com.microsoft.playwright
- Page.GoForwardOptions - Class in com.microsoft.playwright
- Page.HoverOptions - Class in com.microsoft.playwright
- Page.InnerHTMLOptions - Class in com.microsoft.playwright
- Page.InnerTextOptions - Class in com.microsoft.playwright
- Page.InputValueOptions - Class in com.microsoft.playwright
- Page.IsCheckedOptions - Class in com.microsoft.playwright
- Page.IsDisabledOptions - Class in com.microsoft.playwright
- Page.IsEditableOptions - Class in com.microsoft.playwright
- Page.IsEnabledOptions - Class in com.microsoft.playwright
- Page.IsHiddenOptions - Class in com.microsoft.playwright
- Page.IsVisibleOptions - Class in com.microsoft.playwright
- Page.LocatorOptions - Class in com.microsoft.playwright
- Page.NavigateOptions - Class in com.microsoft.playwright
- Page.PdfOptions - Class in com.microsoft.playwright
- Page.PressOptions - Class in com.microsoft.playwright
- Page.QuerySelectorOptions - Class in com.microsoft.playwright
- Page.ReloadOptions - Class in com.microsoft.playwright
- Page.RouteFromHAROptions - Class in com.microsoft.playwright
- Page.RouteOptions - Class in com.microsoft.playwright
- Page.ScreenshotOptions - Class in com.microsoft.playwright
- Page.SelectOptionOptions - Class in com.microsoft.playwright
- Page.SetCheckedOptions - Class in com.microsoft.playwright
- Page.SetContentOptions - Class in com.microsoft.playwright
- Page.SetInputFilesOptions - Class in com.microsoft.playwright
- Page.TapOptions - Class in com.microsoft.playwright
- Page.TextContentOptions - Class in com.microsoft.playwright
- Page.TypeOptions - Class in com.microsoft.playwright
- Page.UncheckOptions - Class in com.microsoft.playwright
- Page.WaitForCloseOptions - Class in com.microsoft.playwright
- Page.WaitForConditionOptions - Class in com.microsoft.playwright
- Page.WaitForConsoleMessageOptions - Class in com.microsoft.playwright
- Page.WaitForDownloadOptions - Class in com.microsoft.playwright
- Page.WaitForFileChooserOptions - Class in com.microsoft.playwright
- Page.WaitForFunctionOptions - Class in com.microsoft.playwright
- Page.WaitForLoadStateOptions - Class in com.microsoft.playwright
- Page.WaitForNavigationOptions - Class in com.microsoft.playwright
- Page.WaitForPopupOptions - Class in com.microsoft.playwright
- Page.WaitForRequestFinishedOptions - Class in com.microsoft.playwright
- Page.WaitForRequestOptions - Class in com.microsoft.playwright
- Page.WaitForResponseOptions - Class in com.microsoft.playwright
- Page.WaitForSelectorOptions - Class in com.microsoft.playwright
- Page.WaitForURLOptions - Class in com.microsoft.playwright
- Page.WaitForWebSocketOptions - Class in com.microsoft.playwright
- Page.WaitForWorkerOptions - Class in com.microsoft.playwright
- PageAssertions - Interface in com.microsoft.playwright.assertions
-
The
PageAssertions
class provides assertion methods that can be used to make assertions about thePage
state in the tests. - PageAssertions.HasTitleOptions - Class in com.microsoft.playwright.assertions
- PageAssertions.HasURLOptions - Class in com.microsoft.playwright.assertions
- PageExtension - Class in com.microsoft.playwright.impl.junit
- PageExtension() - Constructor for class com.microsoft.playwright.impl.junit.PageExtension
- pageRanges - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Paper ranges to print, e.g., '1-5, 8, 11-13'.
- pages() - Method in interface com.microsoft.playwright.BrowserContext
-
Returns all open pages in the context.
- PARAGRAPH - com.microsoft.playwright.options.AriaRole
- parentFrame() - Method in interface com.microsoft.playwright.Frame
-
Parent frame, if any.
- passphrase - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Passphrase for the private key (PEM or PFX).
- password - Variable in class com.microsoft.playwright.options.HttpCredentials
- password - Variable in class com.microsoft.playwright.options.Proxy
-
Optional password to use if HTTP proxy requires authentication.
- patch(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) PATCH request and returns its response.
- patch(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) PATCH request and returns its response.
- path - Variable in class com.microsoft.playwright.APIRequestContext.StorageStateOptions
-
The file path to save the storage state to.
- path - Variable in class com.microsoft.playwright.Browser.StartTracingOptions
-
A path to write the trace file to.
- path - Variable in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given path.
- path - Variable in class com.microsoft.playwright.BrowserContext.StorageStateOptions
-
The file path to save the storage state to.
- path - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
The file path to save the image to.
- path - Variable in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
Path to the JavaScript file to be injected into frame.
- path - Variable in class com.microsoft.playwright.Frame.AddStyleTagOptions
-
Path to the CSS file to be injected into frame.
- path - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
The file path to save the image to.
- path - Variable in class com.microsoft.playwright.options.Cookie
-
Either url or domain / path are required Optional.
- path - Variable in class com.microsoft.playwright.Page.AddScriptTagOptions
-
Path to the JavaScript file to be injected into frame.
- path - Variable in class com.microsoft.playwright.Page.AddStyleTagOptions
-
Path to the CSS file to be injected into frame.
- path - Variable in class com.microsoft.playwright.Page.PdfOptions
-
The file path to save the PDF to.
- path - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
The file path to save the image to.
- path - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
File path to respond with.
- path - Variable in class com.microsoft.playwright.Tracing.StopChunkOptions
-
Export trace collected since the last
Tracing.startChunk()
call into the file with the given path. - path - Variable in class com.microsoft.playwright.Tracing.StopOptions
-
Export trace into the file with the given path.
- path() - Method in interface com.microsoft.playwright.Download
-
Returns path to the downloaded file for a successful download, or throws for a failed/canceled download.
- path() - Method in interface com.microsoft.playwright.Video
-
Returns the file system path this video will be recorded to.
- pause() - Method in interface com.microsoft.playwright.Page
-
Pauses script execution.
- pauseAt(long) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock by jumping forward in time and pause the time.
- pauseAt(String) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock by jumping forward in time and pause the time.
- pauseAt(Date) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock by jumping forward in time and pause the time.
- pdf() - Method in interface com.microsoft.playwright.Page
-
Returns the PDF buffer.
- pdf(Page.PdfOptions) - Method in interface com.microsoft.playwright.Page
-
Returns the PDF buffer.
- PdfOptions() - Constructor for class com.microsoft.playwright.Page.PdfOptions
- permissions - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
A list of permissions to grant to all pages in this context.
- permissions - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
A list of permissions to grant to all pages in this context.
- permissions - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
A list of permissions to grant to all pages in this context.
- pfx - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- pfxPath - Variable in class com.microsoft.playwright.options.ClientCertificate
-
Path to the PFX or PKCS12 encoded private key and certificate chain.
- Playwright - Interface in com.microsoft.playwright
-
Playwright module provides a method to launch a browser instance.
- Playwright.CreateOptions - Class in com.microsoft.playwright
- PlaywrightAssertions - Interface in com.microsoft.playwright.assertions
-
Playwright gives you Web-First Assertions with convenience methods for creating assertions that will wait and retry until the expected condition is met.
- playwrightCreateOptions - Variable in class com.microsoft.playwright.junit.Options
- PlaywrightException - Exception in com.microsoft.playwright
-
PlaywrightException is thrown whenever certain operations are terminated abnormally, e.g. browser closes while
Page.evaluate()
is running. - PlaywrightException(String) - Constructor for exception com.microsoft.playwright.PlaywrightException
- PlaywrightException(String, Throwable) - Constructor for exception com.microsoft.playwright.PlaywrightException
- PlaywrightExtension - Class in com.microsoft.playwright.impl.junit
- PlaywrightExtension() - Constructor for class com.microsoft.playwright.impl.junit.PlaywrightExtension
- PNG - com.microsoft.playwright.options.ScreenshotType
- pollingInterval - Variable in class com.microsoft.playwright.Frame.WaitForFunctionOptions
-
If specified, then it is treated as an interval in milliseconds at which the function would be executed.
- pollingInterval - Variable in class com.microsoft.playwright.Page.WaitForFunctionOptions
-
If specified, then it is treated as an interval in milliseconds at which the function would be executed.
- port - Variable in class com.microsoft.playwright.options.ServerAddr
- position - Variable in class com.microsoft.playwright.ElementHandle.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.ElementHandle.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.ElementHandle.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Frame.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Locator.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- position - Variable in class com.microsoft.playwright.Page.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- Position - Class in com.microsoft.playwright.options
- Position(double, double) - Constructor for class com.microsoft.playwright.options.Position
- post(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) POST request and returns its response.
- post(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) POST request and returns its response.
- postData - Variable in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the post data of request.
- postData - Variable in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the post data of request.
- postData - Variable in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the post data of request.
- postData() - Method in interface com.microsoft.playwright.Request
-
Request's post body, if any.
- postDataBuffer() - Method in interface com.microsoft.playwright.Request
-
Request's post body in a binary form, if any.
- predicate - Variable in class com.microsoft.playwright.BrowserContext.WaitForConsoleMessageOptions
-
Receives the
ConsoleMessage
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.BrowserContext.WaitForPageOptions
-
Receives the
Page
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForConsoleMessageOptions
-
Receives the
ConsoleMessage
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForDownloadOptions
-
Receives the
Download
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForFileChooserOptions
-
Receives the
FileChooser
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForPopupOptions
-
Receives the
Page
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForRequestFinishedOptions
-
Receives the
Request
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForWebSocketOptions
-
Receives the
WebSocket
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.Page.WaitForWorkerOptions
-
Receives the
Worker
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.WebSocket.WaitForFrameReceivedOptions
-
Receives the
WebSocketFrame
object and resolves to truthy value when the waiting should resolve. - predicate - Variable in class com.microsoft.playwright.WebSocket.WaitForFrameSentOptions
-
Receives the
WebSocketFrame
object and resolves to truthy value when the waiting should resolve. - preferCSSPageSize - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Give any CSS
@page
size declared in the page priority over what is declared inwidth
andheight
orformat
options. - PRESENTATION - com.microsoft.playwright.options.AriaRole
- press(String) - Method in interface com.microsoft.playwright.ElementHandle
-
Focuses the element, and then uses
Keyboard.down()
andKeyboard.up()
. - press(String) - Method in interface com.microsoft.playwright.Keyboard
-
NOTE: In most cases, you should use
Locator.press()
instead. - press(String) - Method in interface com.microsoft.playwright.Locator
-
Focuses the matching element and presses a combination of the keys.
- press(String, ElementHandle.PressOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Focuses the element, and then uses
Keyboard.down()
andKeyboard.up()
. - press(String, Keyboard.PressOptions) - Method in interface com.microsoft.playwright.Keyboard
-
NOTE: In most cases, you should use
Locator.press()
instead. - press(String, Locator.PressOptions) - Method in interface com.microsoft.playwright.Locator
-
Focuses the matching element and presses a combination of the keys.
- press(String, String) - Method in interface com.microsoft.playwright.Frame
-
key
can specify the intended keyboardEvent.key value or a single character to generate the text for. - press(String, String) - Method in interface com.microsoft.playwright.Page
-
Focuses the element, and then uses
Keyboard.down()
andKeyboard.up()
. - press(String, String, Frame.PressOptions) - Method in interface com.microsoft.playwright.Frame
-
key
can specify the intended keyboardEvent.key value or a single character to generate the text for. - press(String, String, Page.PressOptions) - Method in interface com.microsoft.playwright.Page
-
Focuses the element, and then uses
Keyboard.down()
andKeyboard.up()
. - pressed - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - pressed - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - pressed - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - pressed - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - PressOptions() - Constructor for class com.microsoft.playwright.ElementHandle.PressOptions
- PressOptions() - Constructor for class com.microsoft.playwright.Frame.PressOptions
- PressOptions() - Constructor for class com.microsoft.playwright.Keyboard.PressOptions
- PressOptions() - Constructor for class com.microsoft.playwright.Locator.PressOptions
- PressOptions() - Constructor for class com.microsoft.playwright.Page.PressOptions
- pressSequentially(String) - Method in interface com.microsoft.playwright.Locator
-
NOTE: In most cases, you should use
Locator.fill()
instead. - pressSequentially(String, Locator.PressSequentiallyOptions) - Method in interface com.microsoft.playwright.Locator
-
NOTE: In most cases, you should use
Locator.fill()
instead. - PressSequentiallyOptions() - Constructor for class com.microsoft.playwright.Locator.PressSequentiallyOptions
- PRINT - com.microsoft.playwright.options.Media
- printBackground - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Print background graphics.
- PROGRESSBAR - com.microsoft.playwright.options.AriaRole
- protocol - Variable in class com.microsoft.playwright.options.SecurityDetails
-
The specific TLS protocol used.
- proxy - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Network proxy settings.
- proxy - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Network proxy settings to use with this context.
- proxy - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Network proxy settings to use with this context.
- proxy - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Network proxy settings.
- proxy - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Network proxy settings.
- Proxy - Class in com.microsoft.playwright.options
- Proxy(String) - Constructor for class com.microsoft.playwright.options.Proxy
- put(String) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) PUT request and returns its response.
- put(String, RequestOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Sends HTTP(S) PUT request and returns its response.
Q
- quality - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
The quality of the image, between 0-100.
- quality - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
The quality of the image, between 0-100.
- quality - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
The quality of the image, between 0-100.
- querySelector(String) - Method in interface com.microsoft.playwright.ElementHandle
-
The method finds an element matching the specified selector in the
ElementHandle
's subtree. - querySelector(String) - Method in interface com.microsoft.playwright.Frame
-
Returns the ElementHandle pointing to the frame element.
- querySelector(String) - Method in interface com.microsoft.playwright.Page
-
The method finds an element matching the specified selector within the page.
- querySelector(String, Frame.QuerySelectorOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns the ElementHandle pointing to the frame element.
- querySelector(String, Page.QuerySelectorOptions) - Method in interface com.microsoft.playwright.Page
-
The method finds an element matching the specified selector within the page.
- querySelectorAll(String) - Method in interface com.microsoft.playwright.ElementHandle
-
The method finds all elements matching the specified selector in the
ElementHandle
s subtree. - querySelectorAll(String) - Method in interface com.microsoft.playwright.Frame
-
Returns the ElementHandles pointing to the frame elements.
- querySelectorAll(String) - Method in interface com.microsoft.playwright.Page
-
The method finds all elements matching the specified selector within the page.
- QuerySelectorOptions() - Constructor for class com.microsoft.playwright.Frame.QuerySelectorOptions
- QuerySelectorOptions() - Constructor for class com.microsoft.playwright.Page.QuerySelectorOptions
R
- RADIO - com.microsoft.playwright.options.AriaRole
- RADIOGROUP - com.microsoft.playwright.options.AriaRole
- ratio - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsInViewportOptions
-
The minimal ratio of the element to intersect viewport.
- reason - Variable in class com.microsoft.playwright.APIRequestContext.DisposeOptions
-
The reason to be reported to the operations interrupted by the context disposal.
- reason - Variable in class com.microsoft.playwright.Browser.CloseOptions
-
The reason to be reported to the operations interrupted by the browser closure.
- reason - Variable in class com.microsoft.playwright.BrowserContext.CloseOptions
-
The reason to be reported to the operations interrupted by the context closure.
- reason - Variable in class com.microsoft.playwright.Page.CloseOptions
-
The reason to be reported to the operations interrupted by the page closure.
- recordHarContent - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Optional setting to control resource content management.
- recordHarContent - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Optional setting to control resource content management.
- recordHarContent - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Optional setting to control resource content management.
- recordHarMode - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
When set to
minimal
, only record information necessary for routing from HAR. - recordHarMode - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
When set to
minimal
, only record information necessary for routing from HAR. - recordHarMode - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
When set to
minimal
, only record information necessary for routing from HAR. - recordHarOmitContent - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Optional setting to control whether to omit request content from the HAR.
- recordHarOmitContent - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Optional setting to control whether to omit request content from the HAR.
- recordHarOmitContent - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Optional setting to control whether to omit request content from the HAR.
- recordHarPath - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Enables HAR recording for all pages into the specified HAR file on the filesystem.
- recordHarPath - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Enables HAR recording for all pages into the specified HAR file on the filesystem.
- recordHarPath - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Enables HAR recording for all pages into the specified HAR file on the filesystem.
- recordHarUrlFilter - Variable in class com.microsoft.playwright.Browser.NewContextOptions
- recordHarUrlFilter - Variable in class com.microsoft.playwright.Browser.NewPageOptions
- recordHarUrlFilter - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- recordVideoDir - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Enables video recording for all pages into the specified directory.
- recordVideoDir - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Enables video recording for all pages into the specified directory.
- recordVideoDir - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Enables video recording for all pages into the specified directory.
- recordVideoSize - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Dimensions of the recorded videos.
- recordVideoSize - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Dimensions of the recorded videos.
- recordVideoSize - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Dimensions of the recorded videos.
- RecordVideoSize - Class in com.microsoft.playwright.options
- RecordVideoSize(int, int) - Constructor for class com.microsoft.playwright.options.RecordVideoSize
- redirectedFrom() - Method in interface com.microsoft.playwright.Request
-
Request that was redirected by the server to this one, if any.
- redirectedTo() - Method in interface com.microsoft.playwright.Request
-
New request issued by the browser if the server responded with redirect.
- REDUCE - com.microsoft.playwright.options.ReducedMotion
- reducedMotion - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - reducedMotion - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - reducedMotion - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - reducedMotion - Variable in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - ReducedMotion - Enum in com.microsoft.playwright.options
- referer - Variable in class com.microsoft.playwright.Frame.NavigateOptions
-
Referer header value.
- referer - Variable in class com.microsoft.playwright.Page.NavigateOptions
-
Referer header value.
- REGION - com.microsoft.playwright.options.AriaRole
- register(String, String) - Method in interface com.microsoft.playwright.Selectors
-
Selectors must be registered before creating the page.
- register(String, String, Selectors.RegisterOptions) - Method in interface com.microsoft.playwright.Selectors
-
Selectors must be registered before creating the page.
- register(String, Path) - Method in interface com.microsoft.playwright.Selectors
-
Selectors must be registered before creating the page.
- register(String, Path, Selectors.RegisterOptions) - Method in interface com.microsoft.playwright.Selectors
-
Selectors must be registered before creating the page.
- RegisterOptions() - Constructor for class com.microsoft.playwright.Selectors.RegisterOptions
- reload() - Method in interface com.microsoft.playwright.Page
-
This method reloads the current page, in the same way as if the user had triggered a browser refresh.
- reload(Page.ReloadOptions) - Method in interface com.microsoft.playwright.Page
-
This method reloads the current page, in the same way as if the user had triggered a browser refresh.
- ReloadOptions() - Constructor for class com.microsoft.playwright.Page.ReloadOptions
- removeLocatorHandler(Locator) - Method in interface com.microsoft.playwright.Page
-
Removes all locator handlers added by
Page.addLocatorHandler()
for a specific locator. - request() - Method in interface com.microsoft.playwright.BrowserContext
-
API testing helper associated with this context.
- request() - Method in interface com.microsoft.playwright.Page
-
API testing helper associated with this page.
- request() - Method in interface com.microsoft.playwright.Playwright
-
Exposes API that can be used for the Web API testing.
- request() - Method in interface com.microsoft.playwright.Response
-
Returns the matching
Request
object. - request() - Method in interface com.microsoft.playwright.Route
-
A request to be routed.
- Request - Interface in com.microsoft.playwright
-
Whenever the page sends a request for a network resource the following sequence of events are emitted by
Page
:Page.onRequest()
emitted when the request is issued by the page.Page.onResponse()
emitted when/if the response status and headers are received for the request.Page.onRequestFinished()
emitted when the response body is downloaded and the request is complete. - requestBodySize - Variable in class com.microsoft.playwright.options.Sizes
-
Size of the request body (POST data payload) in bytes.
- requestHeadersSize - Variable in class com.microsoft.playwright.options.Sizes
-
Total number of bytes from the start of the HTTP request message until (and including) the double CRLF before the body.
- RequestOptions - Interface in com.microsoft.playwright.options
-
The
RequestOptions
allows to create form data to be sent viaAPIRequestContext
. - requestStart - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately before the browser starts requesting the resource from the server, cache, or local resource.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.APIRequestContextExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.BrowserContextExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.BrowserExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.PageExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.PlaywrightExtension
- resourceType() - Method in interface com.microsoft.playwright.Request
-
Contains the request's resource type as it was perceived by the rendering engine.
- response - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
APIResponse
to fulfill route's request with. - response() - Method in interface com.microsoft.playwright.Request
-
Returns the matching
Response
object, ornull
if the response was not received due to error. - Response - Interface in com.microsoft.playwright
-
Response
class represents responses which are received by page. - responseBodySize - Variable in class com.microsoft.playwright.options.Sizes
-
Size of the received response body (encoded) in bytes.
- responseEnd - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.
- responseHeadersSize - Variable in class com.microsoft.playwright.options.Sizes
-
Total number of bytes from the start of the HTTP response message until (and including) the double CRLF before the body.
- responseStart - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately after the browser receives the first byte of the response from the server, cache, or local resource.
- resume() - Method in interface com.microsoft.playwright.Clock
-
Resumes timers.
- resume() - Method in interface com.microsoft.playwright.Route
-
Sends route's request to the network with optional overrides.
- resume(Route.ResumeOptions) - Method in interface com.microsoft.playwright.Route
-
Sends route's request to the network with optional overrides.
- ResumeOptions() - Constructor for class com.microsoft.playwright.Route.ResumeOptions
- RETAIN_ON_FAILURE - com.microsoft.playwright.junit.Options.Trace
- right - Variable in class com.microsoft.playwright.options.Margin
-
Right margin, accepts values labeled with units.
- RIGHT - com.microsoft.playwright.options.MouseButton
- route(String, Consumer<Route>) - Method in interface com.microsoft.playwright.BrowserContext
-
Routing provides the capability to modify network requests that are made by any page in the browser context.
- route(String, Consumer<Route>) - Method in interface com.microsoft.playwright.Page
-
Routing provides the capability to modify network requests that are made by a page.
- route(String, Consumer<Route>, BrowserContext.RouteOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Routing provides the capability to modify network requests that are made by any page in the browser context.
- route(String, Consumer<Route>, Page.RouteOptions) - Method in interface com.microsoft.playwright.Page
-
Routing provides the capability to modify network requests that are made by a page.
- route(Predicate<String>, Consumer<Route>) - Method in interface com.microsoft.playwright.BrowserContext
-
Routing provides the capability to modify network requests that are made by any page in the browser context.
- route(Predicate<String>, Consumer<Route>) - Method in interface com.microsoft.playwright.Page
-
Routing provides the capability to modify network requests that are made by a page.
- route(Predicate<String>, Consumer<Route>, BrowserContext.RouteOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Routing provides the capability to modify network requests that are made by any page in the browser context.
- route(Predicate<String>, Consumer<Route>, Page.RouteOptions) - Method in interface com.microsoft.playwright.Page
-
Routing provides the capability to modify network requests that are made by a page.
- route(Pattern, Consumer<Route>) - Method in interface com.microsoft.playwright.BrowserContext
-
Routing provides the capability to modify network requests that are made by any page in the browser context.
- route(Pattern, Consumer<Route>) - Method in interface com.microsoft.playwright.Page
-
Routing provides the capability to modify network requests that are made by a page.
- route(Pattern, Consumer<Route>, BrowserContext.RouteOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Routing provides the capability to modify network requests that are made by any page in the browser context.
- route(Pattern, Consumer<Route>, Page.RouteOptions) - Method in interface com.microsoft.playwright.Page
-
Routing provides the capability to modify network requests that are made by a page.
- Route - Interface in com.microsoft.playwright
-
Whenever a network route is set up with
Page.route()
orBrowserContext.route()
, theRoute
object allows to handle the route. - Route.FallbackOptions - Class in com.microsoft.playwright
- Route.FetchOptions - Class in com.microsoft.playwright
- Route.FulfillOptions - Class in com.microsoft.playwright
- Route.ResumeOptions - Class in com.microsoft.playwright
- routeFromHAR(Path) - Method in interface com.microsoft.playwright.BrowserContext
-
If specified the network requests that are made in the context will be served from the HAR file.
- routeFromHAR(Path) - Method in interface com.microsoft.playwright.Page
-
If specified the network requests that are made in the page will be served from the HAR file.
- routeFromHAR(Path, BrowserContext.RouteFromHAROptions) - Method in interface com.microsoft.playwright.BrowserContext
-
If specified the network requests that are made in the context will be served from the HAR file.
- routeFromHAR(Path, Page.RouteFromHAROptions) - Method in interface com.microsoft.playwright.Page
-
If specified the network requests that are made in the page will be served from the HAR file.
- RouteFromHAROptions() - Constructor for class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
- RouteFromHAROptions() - Constructor for class com.microsoft.playwright.Page.RouteFromHAROptions
- RouteFromHarUpdateContentPolicy - Enum in com.microsoft.playwright.options
- RouteOptions() - Constructor for class com.microsoft.playwright.BrowserContext.RouteOptions
- RouteOptions() - Constructor for class com.microsoft.playwright.Page.RouteOptions
- ROW - com.microsoft.playwright.options.AriaRole
- ROWGROUP - com.microsoft.playwright.options.AriaRole
- ROWHEADER - com.microsoft.playwright.options.AriaRole
- runBeforeUnload - Variable in class com.microsoft.playwright.Page.CloseOptions
-
Defaults to
false
. - runFor(long) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock, firing all the time-related callbacks.
- runFor(String) - Method in interface com.microsoft.playwright.Clock
-
Advance the clock, firing all the time-related callbacks.
S
- sameSite - Variable in class com.microsoft.playwright.options.Cookie
-
Optional.
- SameSiteAttribute - Enum in com.microsoft.playwright.options
- saveAs(Path) - Method in interface com.microsoft.playwright.Download
-
Copy the download to a user-specified path.
- saveAs(Path) - Method in interface com.microsoft.playwright.Video
-
Saves the video to a user-specified path.
- scale - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
When set to
"css"
, screenshot will have a single pixel per each css pixel on the page. - scale - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
When set to
"css"
, screenshot will have a single pixel per each css pixel on the page. - scale - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Scale of the webpage rendering.
- scale - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
When set to
"css"
, screenshot will have a single pixel per each css pixel on the page. - SCREEN - com.microsoft.playwright.options.Media
- screenshot() - Method in interface com.microsoft.playwright.ElementHandle
-
This method captures a screenshot of the page, clipped to the size and position of this particular element.
- screenshot() - Method in interface com.microsoft.playwright.Locator
-
Take a screenshot of the element matching the locator.
- screenshot() - Method in interface com.microsoft.playwright.Page
-
Returns the buffer with the captured screenshot.
- screenshot(ElementHandle.ScreenshotOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method captures a screenshot of the page, clipped to the size and position of this particular element.
- screenshot(Locator.ScreenshotOptions) - Method in interface com.microsoft.playwright.Locator
-
Take a screenshot of the element matching the locator.
- screenshot(Page.ScreenshotOptions) - Method in interface com.microsoft.playwright.Page
-
Returns the buffer with the captured screenshot.
- ScreenshotAnimations - Enum in com.microsoft.playwright.options
- ScreenshotCaret - Enum in com.microsoft.playwright.options
- ScreenshotOptions() - Constructor for class com.microsoft.playwright.ElementHandle.ScreenshotOptions
- ScreenshotOptions() - Constructor for class com.microsoft.playwright.Locator.ScreenshotOptions
- ScreenshotOptions() - Constructor for class com.microsoft.playwright.Page.ScreenshotOptions
- screenshots - Variable in class com.microsoft.playwright.Browser.StartTracingOptions
-
captures screenshots in the trace.
- screenshots - Variable in class com.microsoft.playwright.Tracing.StartOptions
-
Whether to capture screenshots during tracing.
- ScreenshotScale - Enum in com.microsoft.playwright.options
- ScreenshotType - Enum in com.microsoft.playwright.options
- screenSize - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - screenSize - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - screenSize - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - ScreenSize - Class in com.microsoft.playwright.options
- ScreenSize(int, int) - Constructor for class com.microsoft.playwright.options.ScreenSize
- SCROLLBAR - com.microsoft.playwright.options.AriaRole
- scrollIntoViewIfNeeded() - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, then tries to scroll element into view, unless it is completely visible as defined by IntersectionObserver's
ratio
. - scrollIntoViewIfNeeded() - Method in interface com.microsoft.playwright.Locator
-
This method waits for actionability checks, then tries to scroll element into view, unless it is completely visible as defined by IntersectionObserver's
ratio
. - scrollIntoViewIfNeeded(ElementHandle.ScrollIntoViewIfNeededOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, then tries to scroll element into view, unless it is completely visible as defined by IntersectionObserver's
ratio
. - scrollIntoViewIfNeeded(Locator.ScrollIntoViewIfNeededOptions) - Method in interface com.microsoft.playwright.Locator
-
This method waits for actionability checks, then tries to scroll element into view, unless it is completely visible as defined by IntersectionObserver's
ratio
. - ScrollIntoViewIfNeededOptions() - Constructor for class com.microsoft.playwright.ElementHandle.ScrollIntoViewIfNeededOptions
- ScrollIntoViewIfNeededOptions() - Constructor for class com.microsoft.playwright.Locator.ScrollIntoViewIfNeededOptions
- SEARCH - com.microsoft.playwright.options.AriaRole
- SEARCHBOX - com.microsoft.playwright.options.AriaRole
- secure - Variable in class com.microsoft.playwright.options.Cookie
-
Optional.
- secureConnectionStart - Variable in class com.microsoft.playwright.options.Timing
-
Time immediately before the browser starts the handshake process to secure the current connection.
- securityDetails() - Method in interface com.microsoft.playwright.Response
-
Returns SSL and other security information.
- SecurityDetails - Class in com.microsoft.playwright.options
- SecurityDetails() - Constructor for class com.microsoft.playwright.options.SecurityDetails
- selected - Variable in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - selected - Variable in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - selected - Variable in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - selected - Variable in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - selectOption(ElementHandle) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(ElementHandle) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(ElementHandle[]) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(ElementHandle[]) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(ElementHandle[], ElementHandle.SelectOptionOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(ElementHandle[], Locator.SelectOptionOptions) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(ElementHandle, ElementHandle.SelectOptionOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(ElementHandle, Locator.SelectOptionOptions) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(SelectOption) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(SelectOption) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(SelectOption[]) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(SelectOption[]) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(SelectOption[], ElementHandle.SelectOptionOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(SelectOption[], Locator.SelectOptionOptions) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(SelectOption, ElementHandle.SelectOptionOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(SelectOption, Locator.SelectOptionOptions) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(String) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(String) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(String[]) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(String[]) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(String[], ElementHandle.SelectOptionOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(String[], Locator.SelectOptionOptions) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(String, ElementHandle) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle.SelectOptionOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, waits until all specified options are present in the
<select>
element and selects these options. - selectOption(String, ElementHandle[]) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle[]) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle[], Frame.SelectOptionOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle[], Page.SelectOptionOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle, Frame.SelectOptionOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, ElementHandle, Page.SelectOptionOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, Locator.SelectOptionOptions) - Method in interface com.microsoft.playwright.Locator
-
Selects option or options in
<select>
. - selectOption(String, SelectOption) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption[]) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption[]) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption[], Frame.SelectOptionOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption[], Page.SelectOptionOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption, Frame.SelectOptionOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, SelectOption, Page.SelectOptionOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String[]) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String[]) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String[], Frame.SelectOptionOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String[], Page.SelectOptionOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String, Frame.SelectOptionOptions) - Method in interface com.microsoft.playwright.Frame
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - selectOption(String, String, Page.SelectOptionOptions) - Method in interface com.microsoft.playwright.Page
-
This method waits for an element matching
selector
, waits for actionability checks, waits until all specified options are present in the<select>
element and selects these options. - SelectOption - Class in com.microsoft.playwright.options
- SelectOption() - Constructor for class com.microsoft.playwright.options.SelectOption
- SelectOptionOptions() - Constructor for class com.microsoft.playwright.ElementHandle.SelectOptionOptions
- SelectOptionOptions() - Constructor for class com.microsoft.playwright.Frame.SelectOptionOptions
- SelectOptionOptions() - Constructor for class com.microsoft.playwright.Locator.SelectOptionOptions
- SelectOptionOptions() - Constructor for class com.microsoft.playwright.Page.SelectOptionOptions
- selectors() - Method in interface com.microsoft.playwright.Playwright
-
Selectors can be used to install custom selector engines.
- Selectors - Interface in com.microsoft.playwright
-
Selectors can be used to install custom selector engines.
- Selectors.RegisterOptions - Class in com.microsoft.playwright
- selectText() - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, then focuses the element and selects all its text content.
- selectText() - Method in interface com.microsoft.playwright.Locator
-
This method waits for actionability checks, then focuses the element and selects all its text content.
- selectText(ElementHandle.SelectTextOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method waits for actionability checks, then focuses the element and selects all its text content.
- selectText(Locator.SelectTextOptions) - Method in interface com.microsoft.playwright.Locator
-
This method waits for actionability checks, then focuses the element and selects all its text content.
- SelectTextOptions() - Constructor for class com.microsoft.playwright.ElementHandle.SelectTextOptions
- SelectTextOptions() - Constructor for class com.microsoft.playwright.Locator.SelectTextOptions
- send - Variable in class com.microsoft.playwright.options.HttpCredentials
-
This option only applies to the requests sent from corresponding
APIRequestContext
and does not affect requests sent from the browser. - send(String) - Method in interface com.microsoft.playwright.CDPSession
- send(String, JsonObject) - Method in interface com.microsoft.playwright.CDPSession
- SEPARATOR - com.microsoft.playwright.options.AriaRole
- server - Variable in class com.microsoft.playwright.options.Proxy
-
Proxy to be used for all requests.
- serverAddr() - Method in interface com.microsoft.playwright.Response
-
Returns the IP address and port of the server.
- ServerAddr - Class in com.microsoft.playwright.options
- ServerAddr() - Constructor for class com.microsoft.playwright.options.ServerAddr
- ServiceWorkerPolicy - Enum in com.microsoft.playwright.options
- serviceWorkers - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to allow sites to register Service workers.
- serviceWorkers - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to allow sites to register Service workers.
- serviceWorkers - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to allow sites to register Service workers.
- set(String, boolean) - Method in interface com.microsoft.playwright.options.FormData
-
Sets a field on the form.
- set(String, int) - Method in interface com.microsoft.playwright.options.FormData
-
Sets a field on the form.
- set(String, FilePayload) - Method in interface com.microsoft.playwright.options.FormData
-
Sets a field on the form.
- set(String, String) - Method in interface com.microsoft.playwright.options.FormData
-
Sets a field on the form.
- set(String, Path) - Method in interface com.microsoft.playwright.options.FormData
-
Sets a field on the form.
- setAcceptDownloads(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to automatically download all the attachments.
- setAcceptDownloads(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to automatically download all the attachments.
- setAcceptDownloads(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to automatically download all the attachments.
- setAccuracy(double) - Method in class com.microsoft.playwright.options.Geolocation
-
Non-negative accuracy value.
- setAnimations(ScreenshotAnimations) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
When set to
"disabled"
, stops CSS animations, CSS transitions and Web Animations. - setAnimations(ScreenshotAnimations) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
When set to
"disabled"
, stops CSS animations, CSS transitions and Web Animations. - setAnimations(ScreenshotAnimations) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
When set to
"disabled"
, stops CSS animations, CSS transitions and Web Animations. - setApiRequestOptions(APIRequest.NewContextOptions) - Method in class com.microsoft.playwright.junit.Options
- setArgs(List<String>) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
NOTE: Use custom browser args at your own risk, as some of them may break Playwright functionality.
- setArgs(List<String>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
NOTE: Use custom browser args at your own risk, as some of them may break Playwright functionality.
- setAttached(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsAttachedOptions
- setBaseUrl(String) - Method in class com.microsoft.playwright.junit.Options
- setBaseURL(String) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Methods like
APIRequestContext.get()
take the base URL into consideration by using theURL()
constructor for building the corresponding URL. - setBaseURL(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
When using
Page.navigate()
,Page.route()
,Page.waitForURL()
,Page.waitForRequest()
, orPage.waitForResponse()
it takes the base URL in consideration by using theURL()
constructor for building the corresponding URL. - setBaseURL(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
When using
Page.navigate()
,Page.route()
,Page.waitForURL()
,Page.waitForRequest()
, orPage.waitForResponse()
it takes the base URL in consideration by using theURL()
constructor for building the corresponding URL. - setBaseURL(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
When using
Page.navigate()
,Page.route()
,Page.waitForURL()
,Page.waitForRequest()
, orPage.waitForResponse()
it takes the base URL in consideration by using theURL()
constructor for building the corresponding URL. - setBody(String) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
Optional response body as text.
- setBodyBytes(byte[]) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
Optional response body as raw bytes.
- setBottom(String) - Method in class com.microsoft.playwright.options.Margin
-
Bottom margin, accepts values labeled with units.
- setBrowserName(String) - Method in class com.microsoft.playwright.junit.Options
- setButton(MouseButton) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Mouse.ClickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Mouse.DblclickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Mouse.DownOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Mouse.UpOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Page.ClickOptions
-
Defaults to
left
. - setButton(MouseButton) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
Defaults to
left
. - setBypass(String) - Method in class com.microsoft.playwright.options.Proxy
-
Optional comma-separated domains to bypass proxy, for example
".com, chromium.org, .domain.com"
. - setBypassCSP(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Toggles bypassing page's Content-Security-Policy.
- setBypassCSP(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Toggles bypassing page's Content-Security-Policy.
- setBypassCSP(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Toggles bypassing page's Content-Security-Policy.
- setCaret(ScreenshotCaret) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
When set to
"hide"
, screenshot will hide text caret. - setCaret(ScreenshotCaret) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
When set to
"hide"
, screenshot will hide text caret. - setCaret(ScreenshotCaret) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
When set to
"hide"
, screenshot will hide text caret. - setCategories(List<String>) - Method in class com.microsoft.playwright.Browser.StartTracingOptions
-
specify custom categories to use instead of default.
- setCert(byte[]) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Direct value of the certificate in PEM format.
- setCertPath(Path) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Path to the file with the certificate in PEM format.
- setChannel(BrowserChannel) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Deprecated.
- setChannel(BrowserChannel) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Deprecated.
- setChannel(String) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Browser distribution channel.
- setChannel(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Browser distribution channel.
- setChannel(String) - Method in class com.microsoft.playwright.junit.Options
- setChecked(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsCheckedOptions
- setChecked(boolean) - Method in interface com.microsoft.playwright.ElementHandle
-
This method checks or unchecks an element by performing the following steps: Ensure that element is a checkbox or a radio input.
- setChecked(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - setChecked(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - setChecked(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - setChecked(boolean) - Method in interface com.microsoft.playwright.Locator
-
Set the state of a checkbox or a radio element.
- setChecked(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-checked
or native<input type=checkbox>
controls. - setChecked(boolean, ElementHandle.SetCheckedOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method checks or unchecks an element by performing the following steps: Ensure that element is a checkbox or a radio input.
- setChecked(boolean, Locator.SetCheckedOptions) - Method in interface com.microsoft.playwright.Locator
-
Set the state of a checkbox or a radio element.
- setChecked(String, boolean) - Method in interface com.microsoft.playwright.Frame
-
This method checks or unchecks an element matching
selector
by performing the following steps: Find an element matchingselector
. - setChecked(String, boolean) - Method in interface com.microsoft.playwright.Page
-
This method checks or unchecks an element matching
selector
by performing the following steps: Find an element matchingselector
. - setChecked(String, boolean, Frame.SetCheckedOptions) - Method in interface com.microsoft.playwright.Frame
-
This method checks or unchecks an element matching
selector
by performing the following steps: Find an element matchingselector
. - setChecked(String, boolean, Page.SetCheckedOptions) - Method in interface com.microsoft.playwright.Page
-
This method checks or unchecks an element matching
selector
by performing the following steps: Find an element matchingselector
. - SetCheckedOptions() - Constructor for class com.microsoft.playwright.ElementHandle.SetCheckedOptions
- SetCheckedOptions() - Constructor for class com.microsoft.playwright.Frame.SetCheckedOptions
- SetCheckedOptions() - Constructor for class com.microsoft.playwright.Locator.SetCheckedOptions
- SetCheckedOptions() - Constructor for class com.microsoft.playwright.Page.SetCheckedOptions
- setChromiumSandbox(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Enable Chromium sandboxing.
- setChromiumSandbox(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Enable Chromium sandboxing.
- setClickCount(int) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
defaults to 1.
- setClickCount(int) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
defaults to 1.
- setClickCount(int) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
defaults to 1.
- setClickCount(int) - Method in class com.microsoft.playwright.Mouse.ClickOptions
-
defaults to 1.
- setClickCount(int) - Method in class com.microsoft.playwright.Mouse.DownOptions
-
defaults to 1.
- setClickCount(int) - Method in class com.microsoft.playwright.Mouse.UpOptions
-
defaults to 1.
- setClickCount(int) - Method in class com.microsoft.playwright.Page.ClickOptions
-
defaults to 1.
- setClientCertificates(List<ClientCertificate>) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- setClientCertificates(List<ClientCertificate>) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- setClientCertificates(List<ClientCertificate>) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- setClientCertificates(List<ClientCertificate>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
TLS Client Authentication allows the server to request a client certificate and verify it.
- setClip(double, double, double, double) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
An object which specifies clipping of the resulting image.
- setClip(Clip) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
An object which specifies clipping of the resulting image.
- setColorScheme(ColorScheme) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - setColorScheme(ColorScheme) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - setColorScheme(ColorScheme) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - setColorScheme(ColorScheme) - Method in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Emulates
"prefers-colors-scheme"
media feature, supported values are"light"
,"dark"
,"no-preference"
. - setConnectOptions(BrowserType.ConnectOptions) - Method in class com.microsoft.playwright.junit.Options
- setContent(String) - Method in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
Raw JavaScript content to be injected into frame.
- setContent(String) - Method in class com.microsoft.playwright.Frame.AddStyleTagOptions
-
Raw CSS content to be injected into frame.
- setContent(String) - Method in interface com.microsoft.playwright.Frame
-
This method internally calls document.write(), inheriting all its specific characteristics and behaviors.
- setContent(String) - Method in class com.microsoft.playwright.Page.AddScriptTagOptions
-
Raw JavaScript content to be injected into frame.
- setContent(String) - Method in class com.microsoft.playwright.Page.AddStyleTagOptions
-
Raw CSS content to be injected into frame.
- setContent(String) - Method in interface com.microsoft.playwright.Page
-
This method internally calls document.write(), inheriting all its specific characteristics and behaviors.
- setContent(String, Frame.SetContentOptions) - Method in interface com.microsoft.playwright.Frame
-
This method internally calls document.write(), inheriting all its specific characteristics and behaviors.
- setContent(String, Page.SetContentOptions) - Method in interface com.microsoft.playwright.Page
-
This method internally calls document.write(), inheriting all its specific characteristics and behaviors.
- SetContentOptions() - Constructor for class com.microsoft.playwright.Frame.SetContentOptions
- SetContentOptions() - Constructor for class com.microsoft.playwright.Page.SetContentOptions
- setContentScript(boolean) - Method in class com.microsoft.playwright.Selectors.RegisterOptions
-
Whether to run this selector engine in isolated JavaScript environment.
- setContentType(String) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
If set, equals to setting
Content-Type
response header. - setContextOptions(Browser.NewContextOptions) - Method in class com.microsoft.playwright.junit.Options
- setData(byte[]) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Sets the request's post data.
- setData(Object) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Sets the request's post data.
- setData(String) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Sets the request's post data.
- setDefaultAssertionTimeout(double) - Static method in interface com.microsoft.playwright.assertions.PlaywrightAssertions
-
Changes default timeout for Playwright assertions from 5 seconds to the specified value.
- setDefaultNavigationTimeout(double) - Method in interface com.microsoft.playwright.BrowserContext
-
This setting will change the default maximum navigation time for the following methods and related shortcuts:
Page.goBack()
Page.goForward()
Page.navigate()
Page.reload()
Page.setContent()
Page.waitForNavigation()
- setDefaultNavigationTimeout(double) - Method in interface com.microsoft.playwright.Page
-
This setting will change the default maximum navigation time for the following methods and related shortcuts:
Page.goBack()
Page.goForward()
Page.navigate()
Page.reload()
Page.setContent()
Page.waitForNavigation()
Page.waitForURL()
- setDefaultTimeout(double) - Method in interface com.microsoft.playwright.BrowserContext
-
This setting will change the default maximum time for all the methods accepting
timeout
option. - setDefaultTimeout(double) - Method in interface com.microsoft.playwright.Page
-
This setting will change the default maximum time for all the methods accepting
timeout
option. - setDelay(double) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.ElementHandle.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.ElementHandle.TypeOptions
-
Time to wait between key presses in milliseconds.
- setDelay(double) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Frame.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Frame.TypeOptions
-
Time to wait between key presses in milliseconds.
- setDelay(double) - Method in class com.microsoft.playwright.Keyboard.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Keyboard.TypeOptions
-
Time to wait between key presses in milliseconds.
- setDelay(double) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Locator.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Locator.PressSequentiallyOptions
-
Time to wait between key presses in milliseconds.
- setDelay(double) - Method in class com.microsoft.playwright.Locator.TypeOptions
-
Time to wait between key presses in milliseconds.
- setDelay(double) - Method in class com.microsoft.playwright.Mouse.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Mouse.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Page.ClickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
Time to wait between
mousedown
andmouseup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Page.PressOptions
-
Time to wait between
keydown
andkeyup
in milliseconds. - setDelay(double) - Method in class com.microsoft.playwright.Page.TypeOptions
-
Time to wait between key presses in milliseconds.
- setDeviceName(String) - Method in class com.microsoft.playwright.junit.Options
- setDeviceScaleFactor(double) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Specify device scale factor (can be thought of as dpr).
- setDeviceScaleFactor(double) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Specify device scale factor (can be thought of as dpr).
- setDeviceScaleFactor(double) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specify device scale factor (can be thought of as dpr).
- setDevtools(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Deprecated.Use debugging tools instead.
- setDevtools(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Deprecated.Use debugging tools instead.
- setDisabled(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - setDisabled(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - setDisabled(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - setDisabled(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-disabled
ordisabled
. - setDisplayHeaderFooter(boolean) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Display header and footer.
- setDomain(String) - Method in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given domain.
- setDomain(String) - Method in class com.microsoft.playwright.options.Cookie
-
For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com".
- setDomain(Pattern) - Method in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given domain.
- setDownloadsPath(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If specified, accepted downloads are downloaded into this directory.
- setDownloadsPath(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If specified, accepted downloads are downloaded into this directory.
- setEditable(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsEditableOptions
- setEnabled(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsEnabledOptions
- setEnv(Map<String, String>) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Specify environment variables that will be visible to the browser.
- setEnv(Map<String, String>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specify environment variables that will be visible to the browser.
- setEnv(Map<String, String>) - Method in class com.microsoft.playwright.Playwright.CreateOptions
-
Additional environment variables that will be passed to the driver process.
- setExact(boolean) - Method in class com.microsoft.playwright.Frame.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Frame.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Frame.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - setExact(boolean) - Method in class com.microsoft.playwright.Frame.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Frame.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - setExact(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Locator.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Locator.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Locator.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - setExact(boolean) - Method in class com.microsoft.playwright.Locator.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Locator.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Page.GetByAltTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Page.GetByLabelOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Page.GetByPlaceholderOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
Whether
name
is matched exactly: case-sensitive and whole-string. - setExact(boolean) - Method in class com.microsoft.playwright.Page.GetByTextOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExact(boolean) - Method in class com.microsoft.playwright.Page.GetByTitleOptions
-
Whether to find an exact match: case-sensitive and whole-string.
- setExecutablePath(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Path to a browser executable to run instead of the bundled one.
- setExecutablePath(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Path to a browser executable to run instead of the bundled one.
- setExpanded(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - setExpanded(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - setExpanded(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - setExpanded(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-expanded
. - setExpires(double) - Method in class com.microsoft.playwright.options.Cookie
-
Unix time in seconds.
- setExposeNetwork(String) - Method in class com.microsoft.playwright.BrowserType.ConnectOptions
-
This option exposes network available on the connecting client to the browser being connected to.
- setExtraHTTPHeaders(Map<String, String>) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
An object containing additional HTTP headers to be sent with every request.
- setExtraHTTPHeaders(Map<String, String>) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
An object containing additional HTTP headers to be sent with every request.
- setExtraHTTPHeaders(Map<String, String>) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
An object containing additional HTTP headers to be sent with every request.
- setExtraHTTPHeaders(Map<String, String>) - Method in interface com.microsoft.playwright.BrowserContext
-
The extra HTTP headers will be sent with every request initiated by any page in the context.
- setExtraHTTPHeaders(Map<String, String>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
An object containing additional HTTP headers to be sent with every request.
- setExtraHTTPHeaders(Map<String, String>) - Method in interface com.microsoft.playwright.Page
-
The extra HTTP headers will be sent with every request the page initiates.
- setFailOnStatusCode(boolean) - Method in interface com.microsoft.playwright.options.RequestOptions
- setFiles(FilePayload) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(FilePayload[]) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(FilePayload[], FileChooser.SetFilesOptions) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(FilePayload, FileChooser.SetFilesOptions) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(Path) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(Path[]) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(Path[], FileChooser.SetFilesOptions) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- setFiles(Path, FileChooser.SetFilesOptions) - Method in interface com.microsoft.playwright.FileChooser
-
Sets the value of the file input this chooser is associated with.
- SetFilesOptions() - Constructor for class com.microsoft.playwright.FileChooser.SetFilesOptions
- setFirefoxUserPrefs(Map<String, Object>) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Firefox user preferences.
- setFirefoxUserPrefs(Map<String, Object>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Firefox user preferences.
- setFixedTime(long) - Method in interface com.microsoft.playwright.Clock
-
Makes
Date.now
andnew Date()
return fixed fake time at all times, keeps all the timers running. - setFixedTime(String) - Method in interface com.microsoft.playwright.Clock
-
Makes
Date.now
andnew Date()
return fixed fake time at all times, keeps all the timers running. - setFixedTime(Date) - Method in interface com.microsoft.playwright.Clock
-
Makes
Date.now
andnew Date()
return fixed fake time at all times, keeps all the timers running. - setFooterTemplate(String) - Method in class com.microsoft.playwright.Page.PdfOptions
-
HTML template for the print footer.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.CheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.FillOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.SelectTextOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.FillOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.SelectOptionOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.TapOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.CheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.ClearOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.FillOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.SelectOptionOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.SelectTextOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.SetCheckedOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.TapOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Locator.UncheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.CheckOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.ClickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.FillOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.HoverOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.SelectOptionOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.TapOptions
-
Whether to bypass the actionability checks.
- setForce(boolean) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
Whether to bypass the actionability checks.
- setForcedColors(ForcedColors) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
,"none"
. - setForcedColors(ForcedColors) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
,"none"
. - setForcedColors(ForcedColors) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
,"none"
. - setForcedColors(ForcedColors) - Method in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Emulates
"forced-colors"
media feature, supported values are"active"
and"none"
. - setForm(FormData) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Provides
FormData
object that will be serialized as html form usingapplication/x-www-form-urlencoded
encoding and sent as this request body. - setFormat(String) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Paper format.
- setFullPage(boolean) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
When true, takes a screenshot of the full scrollable page, instead of the currently visible viewport.
- setGeolocation(double, double) - Method in class com.microsoft.playwright.Browser.NewContextOptions
- setGeolocation(double, double) - Method in class com.microsoft.playwright.Browser.NewPageOptions
- setGeolocation(double, double) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- setGeolocation(Geolocation) - Method in class com.microsoft.playwright.Browser.NewContextOptions
- setGeolocation(Geolocation) - Method in class com.microsoft.playwright.Browser.NewPageOptions
- setGeolocation(Geolocation) - Method in interface com.microsoft.playwright.BrowserContext
-
Sets the context's geolocation.
- setGeolocation(Geolocation) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- setHandle(boolean) - Method in class com.microsoft.playwright.BrowserContext.ExposeBindingOptions
-
Deprecated.This option will be removed in the future.
- setHandle(boolean) - Method in class com.microsoft.playwright.Page.ExposeBindingOptions
-
Deprecated.This option will be removed in the future.
- setHandleSIGHUP(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Close the browser process on SIGHUP.
- setHandleSIGHUP(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Close the browser process on SIGHUP.
- setHandleSIGINT(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Close the browser process on Ctrl-C.
- setHandleSIGINT(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Close the browser process on Ctrl-C.
- setHandleSIGTERM(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Close the browser process on SIGTERM.
- setHandleSIGTERM(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Close the browser process on SIGTERM.
- setHas(Locator) - Method in class com.microsoft.playwright.Frame.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- setHas(Locator) - Method in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- setHas(Locator) - Method in class com.microsoft.playwright.Locator.FilterOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- setHas(Locator) - Method in class com.microsoft.playwright.Locator.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- setHas(Locator) - Method in class com.microsoft.playwright.Page.LocatorOptions
-
Narrows down the results of the method to those which contain elements matching this relative locator.
- setHasNot(Locator) - Method in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- setHasNot(Locator) - Method in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- setHasNot(Locator) - Method in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements that do not contain an element that matches an inner locator.
- setHasNot(Locator) - Method in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- setHasNot(Locator) - Method in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements that do not contain an element that matches an inner locator.
- setHasNotText(String) - Method in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(String) - Method in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(String) - Method in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(String) - Method in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(String) - Method in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(Pattern) - Method in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(Pattern) - Method in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(Pattern) - Method in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(Pattern) - Method in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasNotText(Pattern) - Method in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements that do not contain specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(String) - Method in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(String) - Method in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(String) - Method in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(String) - Method in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(String) - Method in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(Pattern) - Method in class com.microsoft.playwright.Frame.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(Pattern) - Method in class com.microsoft.playwright.FrameLocator.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(Pattern) - Method in class com.microsoft.playwright.Locator.FilterOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(Pattern) - Method in class com.microsoft.playwright.Locator.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasText(Pattern) - Method in class com.microsoft.playwright.Page.LocatorOptions
-
Matches elements containing specified text somewhere inside, possibly in a child or a descendant element.
- setHasTouch(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Specifies if viewport supports touch events.
- setHasTouch(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Specifies if viewport supports touch events.
- setHasTouch(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specifies if viewport supports touch events.
- setHeader(String, String) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Sets an HTTP header to the request.
- setHeaders(Map<String, String>) - Method in class com.microsoft.playwright.BrowserType.ConnectOptions
-
Additional HTTP headers to be sent with web socket connect request.
- setHeaders(Map<String, String>) - Method in class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
-
Additional HTTP headers to be sent with connect request.
- setHeaders(Map<String, String>) - Method in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the request HTTP headers.
- setHeaders(Map<String, String>) - Method in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the request HTTP headers.
- setHeaders(Map<String, String>) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
Response headers.
- setHeaders(Map<String, String>) - Method in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the request HTTP headers.
- setHeaderTemplate(String) - Method in class com.microsoft.playwright.Page.PdfOptions
-
HTML template for the print header.
- setHeadless(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Whether to run browser in headless mode.
- setHeadless(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to run browser in headless mode.
- setHeadless(Boolean) - Method in class com.microsoft.playwright.junit.Options
- setHeight(String) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Paper height, accepts values labeled with units.
- setHttpCredentials(HttpCredentials) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(HttpCredentials) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(HttpCredentials) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(HttpCredentials) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(String, String) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(String, String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(String, String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Credentials for HTTP authentication.
- setHttpCredentials(String, String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Credentials for HTTP authentication.
- setHttpOnly(boolean) - Method in class com.microsoft.playwright.options.Cookie
-
Optional.
- setIgnoreAllDefaultArgs(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - setIgnoreAllDefaultArgs(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - setIgnoreCase(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
-
Whether to perform case-insensitive match.
- setIgnoreCase(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleDescriptionOptions
-
Whether to perform case-insensitive match.
- setIgnoreCase(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleNameOptions
-
Whether to perform case-insensitive match.
- setIgnoreCase(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasAttributeOptions
-
Whether to perform case-insensitive match.
- setIgnoreCase(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Whether to perform case-insensitive match.
- setIgnoreCase(boolean) - Method in class com.microsoft.playwright.assertions.PageAssertions.HasURLOptions
-
Whether to perform case-insensitive match.
- setIgnoreDefaultArgs(List<String>) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - setIgnoreDefaultArgs(List<String>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If
true
, Playwright does not pass its own configurations args and only uses the ones fromargs
. - setIgnoreHTTPSErrors(boolean) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Whether to ignore HTTPS errors when sending network requests.
- setIgnoreHTTPSErrors(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to ignore HTTPS errors when sending network requests.
- setIgnoreHTTPSErrors(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to ignore HTTPS errors when sending network requests.
- setIgnoreHTTPSErrors(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to ignore HTTPS errors when sending network requests.
- setIgnoreHTTPSErrors(boolean) - Method in interface com.microsoft.playwright.options.RequestOptions
- setIgnoreHTTPSErrors(Boolean) - Method in class com.microsoft.playwright.junit.Options
- setIncludeHidden(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- setIncludeHidden(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- setIncludeHidden(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- setIncludeHidden(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
Option that controls whether hidden elements are matched.
- setIndex(int) - Method in class com.microsoft.playwright.options.SelectOption
-
Matches by the index.
- setInputFiles(FilePayload) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(FilePayload) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(FilePayload[]) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(FilePayload[]) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(FilePayload[], ElementHandle.SetInputFilesOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(FilePayload[], Locator.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(FilePayload, ElementHandle.SetInputFilesOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(FilePayload, Locator.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(String, FilePayload) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload[]) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload[]) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload[], Frame.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload[], Page.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload, Frame.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, FilePayload, Page.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path[]) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path[]) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path[], Frame.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path[], Page.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path, Frame.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Frame
-
Sets the value of the file input to these file paths or files.
- setInputFiles(String, Path, Page.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Page
-
Sets the value of the file input to these file paths or files.
- setInputFiles(Path) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(Path) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(Path[]) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(Path[]) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(Path[], ElementHandle.SetInputFilesOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(Path[], Locator.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - setInputFiles(Path, ElementHandle.SetInputFilesOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Sets the value of the file input to these file paths or files.
- setInputFiles(Path, Locator.SetInputFilesOptions) - Method in interface com.microsoft.playwright.Locator
-
Upload file or multiple files into
<input type=file>
. - SetInputFilesOptions() - Constructor for class com.microsoft.playwright.ElementHandle.SetInputFilesOptions
- SetInputFilesOptions() - Constructor for class com.microsoft.playwright.Frame.SetInputFilesOptions
- SetInputFilesOptions() - Constructor for class com.microsoft.playwright.Locator.SetInputFilesOptions
- SetInputFilesOptions() - Constructor for class com.microsoft.playwright.Page.SetInputFilesOptions
- setIsMobile(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether the
meta viewport
tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. - setIsMobile(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether the
meta viewport
tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. - setIsMobile(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether the
meta viewport
tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. - setJavaScriptEnabled(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether or not to enable JavaScript in the context.
- setJavaScriptEnabled(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether or not to enable JavaScript in the context.
- setJavaScriptEnabled(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether or not to enable JavaScript in the context.
- setKey(byte[]) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Direct value of the private key in PEM format.
- setKeyPath(Path) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Path to the file with the private key in PEM format.
- setLabel(String) - Method in class com.microsoft.playwright.options.SelectOption
-
Matches by
option.label
. - setLandscape(boolean) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Paper orientation.
- setLaunchOptions(BrowserType.LaunchOptions) - Method in class com.microsoft.playwright.junit.Options
- setLeft(String) - Method in class com.microsoft.playwright.options.Margin
-
Left margin, accepts values labeled with units.
- setLevel(int) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - setLevel(int) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - setLevel(int) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - setLevel(int) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
A number attribute that is usually present for roles
heading
,listitem
,row
,treeitem
, with default values for<h1>-<h6>
elements. - setLocale(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Specify user locale, for example
en-GB
,de-DE
, etc. - setLocale(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Specify user locale, for example
en-GB
,de-DE
, etc. - setLocale(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specify user locale, for example
en-GB
,de-DE
, etc. - setMargin(Margin) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Paper margins, defaults to none.
- setMask(List<Locator>) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Specify locators that should be masked when the screenshot is taken.
- setMask(List<Locator>) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Specify locators that should be masked when the screenshot is taken.
- setMask(List<Locator>) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
Specify locators that should be masked when the screenshot is taken.
- setMaskColor(String) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Specify the color of the overlay box for masked elements, in CSS color format.
- setMaskColor(String) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Specify the color of the overlay box for masked elements, in CSS color format.
- setMaskColor(String) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
Specify the color of the overlay box for masked elements, in CSS color format.
- setMaxRedirects(int) - Method in interface com.microsoft.playwright.options.RequestOptions
- setMaxRedirects(int) - Method in class com.microsoft.playwright.Route.FetchOptions
-
Maximum number of request redirects that will be followed automatically.
- setMaxRetries(int) - Method in interface com.microsoft.playwright.options.RequestOptions
- setMaxRetries(int) - Method in class com.microsoft.playwright.Route.FetchOptions
-
Maximum number of times network errors should be retried.
- setMedia(Media) - Method in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Changes the CSS media type of the page.
- setMethod(String) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Changes the request method (e.g.
- setMethod(String) - Method in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the request method (e.g.
- setMethod(String) - Method in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the request method (e.g.
- setMethod(String) - Method in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the request method (e.g.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Frame.TapOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Locator.TapOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Page.ClickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Page.HoverOptions
-
Modifier keys to press.
- setModifiers(List<KeyboardModifier>) - Method in class com.microsoft.playwright.Page.TapOptions
-
Modifier keys to press.
- setMultipart(FormData) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Provides
FormData
object that will be serialized as html form usingmultipart/form-data
encoding and sent as this request body. - setName(String) - Method in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given name.
- setName(String) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Option to match the accessible name.
- setName(String) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Option to match the accessible name.
- setName(String) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Option to match the accessible name.
- setName(String) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
Option to match the accessible name.
- setName(String) - Method in class com.microsoft.playwright.Tracing.StartChunkOptions
-
If specified, intermediate trace files are going to be saved into the files with the given name prefix inside the
tracesDir
folder specified inBrowserType.launch()
. - setName(String) - Method in class com.microsoft.playwright.Tracing.StartOptions
-
If specified, intermediate trace files are going to be saved into the files with the given name prefix inside the
tracesDir
folder specified inBrowserType.launch()
. - setName(Pattern) - Method in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given name.
- setName(Pattern) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
Option to match the accessible name.
- setName(Pattern) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
Option to match the accessible name.
- setName(Pattern) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
Option to match the accessible name.
- setName(Pattern) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
Option to match the accessible name.
- setNotFound(HarNotFound) - Method in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
If set to 'abort' any request not found in the HAR file will be aborted. If set to 'fallback' falls through to the next route handler in the handler chain.
- setNotFound(HarNotFound) - Method in class com.microsoft.playwright.Page.RouteFromHAROptions
-
If set to 'abort' any request not found in the HAR file will be aborted. If set to 'fallback' missing requests will be sent to the network.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.CheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.FillOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.PressOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.SetInputFilesOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.TypeOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.FileChooser.SetFilesOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.FillOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.PressOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.SelectOptionOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.SetInputFilesOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.TapOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.TypeOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.CheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.ClearOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.FillOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.PressOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.PressSequentiallyOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.SelectOptionOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.SetCheckedOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.SetInputFilesOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.TapOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.TypeOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Locator.UncheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.AddLocatorHandlerOptions
-
By default, after calling the handler Playwright will wait until the overlay becomes hidden, and only then Playwright will continue with the action/assertion that triggered the handler.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.CheckOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.ClickOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.FillOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.HoverOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.PressOptions
-
Deprecated.This option will default to
true
in the future. - setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.SelectOptionOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.SetInputFilesOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.TapOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.TypeOptions
-
Deprecated.This option has no effect.
- setNoWaitAfter(boolean) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
Deprecated.This option has no effect.
- setOffline(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to emulate network being offline.
- setOffline(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to emulate network being offline.
- setOffline(boolean) - Method in interface com.microsoft.playwright.BrowserContext
- setOffline(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to emulate network being offline.
- setOmitBackground(boolean) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Hides default white background and allows capturing screenshots with transparency.
- setOmitBackground(boolean) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Hides default white background and allows capturing screenshots with transparency.
- setOmitBackground(boolean) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
Hides default white background and allows capturing screenshots with transparency.
- setOrigin(String) - Method in class com.microsoft.playwright.BrowserContext.GrantPermissionsOptions
-
The [origin] to grant permissions to, e.g.
- setOrigin(String) - Method in class com.microsoft.playwright.options.HttpCredentials
-
Restrain sending http credentials on specific origin (scheme://host:port).
- setOutline(boolean) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Whether or not to embed the document outline into the PDF.
- setOutputDir(Path) - Method in class com.microsoft.playwright.junit.Options
- setPageRanges(String) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Paper ranges to print, e.g., '1-5, 8, 11-13'.
- setPassphrase(String) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Passphrase for the private key (PEM or PFX).
- setPassword(String) - Method in class com.microsoft.playwright.options.Proxy
-
Optional password to use if HTTP proxy requires authentication.
- setPath(String) - Method in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given path.
- setPath(String) - Method in class com.microsoft.playwright.options.Cookie
-
Either url or domain / path are required Optional.
- setPath(Path) - Method in class com.microsoft.playwright.APIRequestContext.StorageStateOptions
-
The file path to save the storage state to.
- setPath(Path) - Method in class com.microsoft.playwright.Browser.StartTracingOptions
-
A path to write the trace file to.
- setPath(Path) - Method in class com.microsoft.playwright.BrowserContext.StorageStateOptions
-
The file path to save the storage state to.
- setPath(Path) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
The file path to save the image to.
- setPath(Path) - Method in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
Path to the JavaScript file to be injected into frame.
- setPath(Path) - Method in class com.microsoft.playwright.Frame.AddStyleTagOptions
-
Path to the CSS file to be injected into frame.
- setPath(Path) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
The file path to save the image to.
- setPath(Path) - Method in class com.microsoft.playwright.Page.AddScriptTagOptions
-
Path to the JavaScript file to be injected into frame.
- setPath(Path) - Method in class com.microsoft.playwright.Page.AddStyleTagOptions
-
Path to the CSS file to be injected into frame.
- setPath(Path) - Method in class com.microsoft.playwright.Page.PdfOptions
-
The file path to save the PDF to.
- setPath(Path) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
The file path to save the image to.
- setPath(Path) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
File path to respond with.
- setPath(Path) - Method in class com.microsoft.playwright.Tracing.StopChunkOptions
-
Export trace collected since the last
Tracing.startChunk()
call into the file with the given path. - setPath(Path) - Method in class com.microsoft.playwright.Tracing.StopOptions
-
Export trace into the file with the given path.
- setPath(Pattern) - Method in class com.microsoft.playwright.BrowserContext.ClearCookiesOptions
-
Only removes cookies with the given path.
- setPermissions(List<String>) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
A list of permissions to grant to all pages in this context.
- setPermissions(List<String>) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
A list of permissions to grant to all pages in this context.
- setPermissions(List<String>) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
A list of permissions to grant to all pages in this context.
- setPfx(byte[]) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- setPfxPath(Path) - Method in class com.microsoft.playwright.options.ClientCertificate
-
Path to the PFX or PKCS12 encoded private key and certificate chain.
- setPlaywrightCreateOptions(Playwright.CreateOptions) - Method in class com.microsoft.playwright.junit.Options
- setPollingInterval(double) - Method in class com.microsoft.playwright.Frame.WaitForFunctionOptions
-
If specified, then it is treated as an interval in milliseconds at which the function would be executed.
- setPollingInterval(double) - Method in class com.microsoft.playwright.Page.WaitForFunctionOptions
-
If specified, then it is treated as an interval in milliseconds at which the function would be executed.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Locator.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(double, double) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Locator.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.CheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.ClickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.HoverOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.TapOptions
-
A point to use relative to the top-left corner of element padding box.
- setPosition(Position) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
A point to use relative to the top-left corner of element padding box.
- setPostData(byte[]) - Method in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the post data of request.
- setPostData(byte[]) - Method in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the post data of request.
- setPostData(byte[]) - Method in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the post data of request.
- setPostData(String) - Method in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the post data of request.
- setPostData(String) - Method in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the post data of request.
- setPostData(String) - Method in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the post data of request.
- setPredicate(Predicate<ConsoleMessage>) - Method in class com.microsoft.playwright.BrowserContext.WaitForConsoleMessageOptions
-
Receives the
ConsoleMessage
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<ConsoleMessage>) - Method in class com.microsoft.playwright.Page.WaitForConsoleMessageOptions
-
Receives the
ConsoleMessage
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<Download>) - Method in class com.microsoft.playwright.Page.WaitForDownloadOptions
-
Receives the
Download
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<FileChooser>) - Method in class com.microsoft.playwright.Page.WaitForFileChooserOptions
-
Receives the
FileChooser
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<Page>) - Method in class com.microsoft.playwright.BrowserContext.WaitForPageOptions
-
Receives the
Page
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<Page>) - Method in class com.microsoft.playwright.Page.WaitForPopupOptions
-
Receives the
Page
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<Request>) - Method in class com.microsoft.playwright.Page.WaitForRequestFinishedOptions
-
Receives the
Request
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<WebSocket>) - Method in class com.microsoft.playwright.Page.WaitForWebSocketOptions
-
Receives the
WebSocket
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<WebSocketFrame>) - Method in class com.microsoft.playwright.WebSocket.WaitForFrameReceivedOptions
-
Receives the
WebSocketFrame
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<WebSocketFrame>) - Method in class com.microsoft.playwright.WebSocket.WaitForFrameSentOptions
-
Receives the
WebSocketFrame
object and resolves to truthy value when the waiting should resolve. - setPredicate(Predicate<Worker>) - Method in class com.microsoft.playwright.Page.WaitForWorkerOptions
-
Receives the
Worker
object and resolves to truthy value when the waiting should resolve. - setPreferCSSPageSize(boolean) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Give any CSS
@page
size declared in the page priority over what is declared inwidth
andheight
orformat
options. - setPressed(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - setPressed(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - setPressed(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - setPressed(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-pressed
. - setPrintBackground(boolean) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Print background graphics.
- setProxy(Proxy) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Network proxy settings.
- setProxy(Proxy) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Network proxy settings to use with this context.
- setProxy(Proxy) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Network proxy settings to use with this context.
- setProxy(Proxy) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Network proxy settings.
- setProxy(Proxy) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Network proxy settings.
- setProxy(String) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Network proxy settings.
- setProxy(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Network proxy settings to use with this context.
- setProxy(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Network proxy settings to use with this context.
- setProxy(String) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Network proxy settings.
- setProxy(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Network proxy settings.
- setQuality(int) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
The quality of the image, between 0-100.
- setQuality(int) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
The quality of the image, between 0-100.
- setQuality(int) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
The quality of the image, between 0-100.
- setQueryParam(String, boolean) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Adds a query parameter to the request URL.
- setQueryParam(String, int) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Adds a query parameter to the request URL.
- setQueryParam(String, String) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Adds a query parameter to the request URL.
- setRatio(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsInViewportOptions
-
The minimal ratio of the element to intersect viewport.
- setReason(String) - Method in class com.microsoft.playwright.APIRequestContext.DisposeOptions
-
The reason to be reported to the operations interrupted by the context disposal.
- setReason(String) - Method in class com.microsoft.playwright.Browser.CloseOptions
-
The reason to be reported to the operations interrupted by the browser closure.
- setReason(String) - Method in class com.microsoft.playwright.BrowserContext.CloseOptions
-
The reason to be reported to the operations interrupted by the context closure.
- setReason(String) - Method in class com.microsoft.playwright.Page.CloseOptions
-
The reason to be reported to the operations interrupted by the page closure.
- setRecordHarContent(HarContentPolicy) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Optional setting to control resource content management.
- setRecordHarContent(HarContentPolicy) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Optional setting to control resource content management.
- setRecordHarContent(HarContentPolicy) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Optional setting to control resource content management.
- setRecordHarMode(HarMode) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
When set to
minimal
, only record information necessary for routing from HAR. - setRecordHarMode(HarMode) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
When set to
minimal
, only record information necessary for routing from HAR. - setRecordHarMode(HarMode) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
When set to
minimal
, only record information necessary for routing from HAR. - setRecordHarOmitContent(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Optional setting to control whether to omit request content from the HAR.
- setRecordHarOmitContent(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Optional setting to control whether to omit request content from the HAR.
- setRecordHarOmitContent(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Optional setting to control whether to omit request content from the HAR.
- setRecordHarPath(Path) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Enables HAR recording for all pages into the specified HAR file on the filesystem.
- setRecordHarPath(Path) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Enables HAR recording for all pages into the specified HAR file on the filesystem.
- setRecordHarPath(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Enables HAR recording for all pages into the specified HAR file on the filesystem.
- setRecordHarUrlFilter(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
- setRecordHarUrlFilter(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
- setRecordHarUrlFilter(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- setRecordHarUrlFilter(Pattern) - Method in class com.microsoft.playwright.Browser.NewContextOptions
- setRecordHarUrlFilter(Pattern) - Method in class com.microsoft.playwright.Browser.NewPageOptions
- setRecordHarUrlFilter(Pattern) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
- setRecordVideoDir(Path) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Enables video recording for all pages into the specified directory.
- setRecordVideoDir(Path) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Enables video recording for all pages into the specified directory.
- setRecordVideoDir(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Enables video recording for all pages into the specified directory.
- setRecordVideoSize(int, int) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Dimensions of the recorded videos.
- setRecordVideoSize(int, int) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Dimensions of the recorded videos.
- setRecordVideoSize(int, int) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Dimensions of the recorded videos.
- setRecordVideoSize(RecordVideoSize) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Dimensions of the recorded videos.
- setRecordVideoSize(RecordVideoSize) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Dimensions of the recorded videos.
- setRecordVideoSize(RecordVideoSize) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Dimensions of the recorded videos.
- setReducedMotion(ReducedMotion) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - setReducedMotion(ReducedMotion) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - setReducedMotion(ReducedMotion) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - setReducedMotion(ReducedMotion) - Method in class com.microsoft.playwright.Page.EmulateMediaOptions
-
Emulates
"prefers-reduced-motion"
media feature, supported values are"reduce"
,"no-preference"
. - setReferer(String) - Method in class com.microsoft.playwright.Frame.NavigateOptions
-
Referer header value.
- setReferer(String) - Method in class com.microsoft.playwright.Page.NavigateOptions
-
Referer header value.
- setResponse(APIResponse) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
APIResponse
to fulfill route's request with. - setRight(String) - Method in class com.microsoft.playwright.options.Margin
-
Right margin, accepts values labeled with units.
- setRunBeforeUnload(boolean) - Method in class com.microsoft.playwright.Page.CloseOptions
-
Defaults to
false
. - setSameSite(SameSiteAttribute) - Method in class com.microsoft.playwright.options.Cookie
-
Optional.
- setScale(double) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Scale of the webpage rendering.
- setScale(ScreenshotScale) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
When set to
"css"
, screenshot will have a single pixel per each css pixel on the page. - setScale(ScreenshotScale) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
When set to
"css"
, screenshot will have a single pixel per each css pixel on the page. - setScale(ScreenshotScale) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
When set to
"css"
, screenshot will have a single pixel per each css pixel on the page. - setScreenshots(boolean) - Method in class com.microsoft.playwright.Browser.StartTracingOptions
-
captures screenshots in the trace.
- setScreenshots(boolean) - Method in class com.microsoft.playwright.Tracing.StartOptions
-
Whether to capture screenshots during tracing.
- setScreenSize(int, int) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - setScreenSize(int, int) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - setScreenSize(int, int) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - setScreenSize(ScreenSize) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - setScreenSize(ScreenSize) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - setScreenSize(ScreenSize) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates consistent window screen size available inside web page via
window.screen
. - setSecure(boolean) - Method in class com.microsoft.playwright.options.Cookie
-
Optional.
- setSelected(boolean) - Method in class com.microsoft.playwright.Frame.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - setSelected(boolean) - Method in class com.microsoft.playwright.FrameLocator.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - setSelected(boolean) - Method in class com.microsoft.playwright.Locator.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - setSelected(boolean) - Method in class com.microsoft.playwright.Page.GetByRoleOptions
-
An attribute that is usually set by
aria-selected
. - setSend(HttpCredentialsSend) - Method in class com.microsoft.playwright.options.HttpCredentials
-
This option only applies to the requests sent from corresponding
APIRequestContext
and does not affect requests sent from the browser. - setServiceWorkers(ServiceWorkerPolicy) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Whether to allow sites to register Service workers.
- setServiceWorkers(ServiceWorkerPolicy) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Whether to allow sites to register Service workers.
- setServiceWorkers(ServiceWorkerPolicy) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Whether to allow sites to register Service workers.
- setSlowMo(double) - Method in class com.microsoft.playwright.BrowserType.ConnectOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- setSlowMo(double) - Method in class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- setSlowMo(double) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- setSlowMo(double) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- setSnapshots(boolean) - Method in class com.microsoft.playwright.Tracing.StartOptions
-
If this option is true tracing will capture DOM snapshot on every action record network activity
- setSourcePosition(double, double) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- setSourcePosition(double, double) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- setSourcePosition(double, double) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- setSourcePosition(Position) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- setSourcePosition(Position) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- setSourcePosition(Position) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- setSources(boolean) - Method in class com.microsoft.playwright.Tracing.StartOptions
-
Whether to include source files for trace actions.
- setState(WaitForSelectorState) - Method in class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
-
Defaults to
"visible"
. - setState(WaitForSelectorState) - Method in class com.microsoft.playwright.Frame.WaitForSelectorOptions
-
Defaults to
"visible"
. - setState(WaitForSelectorState) - Method in class com.microsoft.playwright.Locator.WaitForOptions
-
Defaults to
"visible"
. - setState(WaitForSelectorState) - Method in class com.microsoft.playwright.Page.WaitForSelectorOptions
-
Defaults to
"visible"
. - setStatus(int) - Method in class com.microsoft.playwright.Route.FulfillOptions
-
Response status code, defaults to
200
. - setSteps(int) - Method in class com.microsoft.playwright.Mouse.MoveOptions
-
Defaults to 1.
- setStorageState(String) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Populates context with given storage state.
- setStorageState(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Populates context with given storage state.
- setStorageState(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Populates context with given storage state.
- setStorageStatePath(Path) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Populates context with given storage state.
- setStorageStatePath(Path) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Populates context with given storage state.
- setStorageStatePath(Path) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Populates context with given storage state.
- setStrict(boolean) - Method in class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.DispatchEventOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.EvalOnSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.FillOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.FocusOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.GetAttributeOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.InnerHTMLOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.InnerTextOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.InputValueOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.IsCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.IsDisabledOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.IsEditableOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.IsEnabledOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.IsHiddenOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.IsVisibleOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.PressOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.QuerySelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.SelectOptionOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.SetInputFilesOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.TapOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.TextContentOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.TypeOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Frame.WaitForSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.CheckOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.ClickOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.DispatchEventOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.EvalOnSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.FillOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.FocusOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.GetAttributeOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.HoverOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.InnerHTMLOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.InnerTextOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.InputValueOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.IsCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.IsDisabledOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.IsEditableOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.IsEnabledOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.IsHiddenOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.IsVisibleOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.PressOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.QuerySelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.SelectOptionOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.SetInputFilesOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.TapOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.TextContentOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.TypeOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
When true, the call requires selector to resolve to a single element.
- setStrict(boolean) - Method in class com.microsoft.playwright.Page.WaitForSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- setStrictSelectors(boolean) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
If set to true, enables strict selectors mode for this context.
- setStrictSelectors(boolean) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
If set to true, enables strict selectors mode for this context.
- setStrictSelectors(boolean) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If set to true, enables strict selectors mode for this context.
- setStyle(String) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Text of the stylesheet to apply while making the screenshot.
- setStyle(String) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Text of the stylesheet to apply while making the screenshot.
- setStyle(String) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
Text of the stylesheet to apply while making the screenshot.
- setSystemTime(long) - Method in interface com.microsoft.playwright.Clock
-
Sets current system time but does not trigger any timers.
- setSystemTime(String) - Method in interface com.microsoft.playwright.Clock
-
Sets current system time but does not trigger any timers.
- setSystemTime(Date) - Method in interface com.microsoft.playwright.Clock
-
Sets current system time but does not trigger any timers.
- setTagged(boolean) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Whether or not to generate tagged (accessible) PDF.
- setTargetPosition(double, double) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- setTargetPosition(double, double) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- setTargetPosition(double, double) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- setTargetPosition(Position) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- setTargetPosition(Position) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- setTargetPosition(Position) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- setTestIdAttribute(String) - Method in class com.microsoft.playwright.junit.Options
- setTestIdAttribute(String) - Method in interface com.microsoft.playwright.Selectors
-
Defines custom attribute name to be used in
Page.getByTestId()
. - setTime(long) - Method in class com.microsoft.playwright.Clock.InstallOptions
-
Time to initialize with, current system time by default.
- setTime(String) - Method in class com.microsoft.playwright.Clock.InstallOptions
-
Time to initialize with, current system time by default.
- setTime(Date) - Method in class com.microsoft.playwright.Clock.InstallOptions
-
Time to initialize with, current system time by default.
- setTimeout(double) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Maximum time in milliseconds to wait for the response.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleDescriptionOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleNameOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasAttributeOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasClassOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasCountOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasCSSOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasIdOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasJSPropertyOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasRoleOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasValueOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasValuesOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsAttachedOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsCheckedOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsDisabledOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsEditableOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsEmptyOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsEnabledOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsFocusedOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsHiddenOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsInViewportOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsVisibleOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.PageAssertions.HasTitleOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.assertions.PageAssertions.HasURLOptions
-
Time to retry the assertion for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserContext.WaitForConditionOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserContext.WaitForConsoleMessageOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserContext.WaitForPageOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserType.ConnectOptions
-
Maximum time in milliseconds to wait for the connection to be established.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
-
Maximum time in milliseconds to wait for the connection to be established.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Maximum time in milliseconds to wait for the browser instance to start.
- setTimeout(double) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Maximum time in milliseconds to wait for the browser instance to start.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.CheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.FillOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.InputValueOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.PressOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.ScrollIntoViewIfNeededOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.SelectTextOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.SetInputFilesOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.TypeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.WaitForElementStateOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.FileChooser.SetFilesOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.DispatchEventOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.FillOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.FocusOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.GetAttributeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.InnerHTMLOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.InnerTextOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.InputValueOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.IsCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.IsDisabledOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.IsEditableOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.IsEnabledOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.IsHiddenOptions
-
Deprecated.This option is ignored.
Frame.isHidden()
does not wait for the element to become hidden and returns immediately. - setTimeout(double) - Method in class com.microsoft.playwright.Frame.IsVisibleOptions
-
Deprecated.This option is ignored.
Frame.isVisible()
does not wait for the element to become visible and returns immediately. - setTimeout(double) - Method in class com.microsoft.playwright.Frame.NavigateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Frame.PressOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.SelectOptionOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.SetContentOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Frame.SetInputFilesOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.TapOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.TextContentOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.TypeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.WaitForFunctionOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.WaitForLoadStateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Frame.WaitForSelectorOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Frame.WaitForURLOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Locator.BlurOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.BoundingBoxOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.CheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.ClearOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.DispatchEventOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.ElementHandleOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.EvaluateHandleOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.EvaluateOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.FillOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.FocusOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.GetAttributeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.InnerHTMLOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.InnerTextOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.InputValueOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.IsCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.IsDisabledOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.IsEditableOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.IsEnabledOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.IsHiddenOptions
-
Deprecated.This option is ignored.
Locator.isHidden()
does not wait for the element to become hidden and returns immediately. - setTimeout(double) - Method in class com.microsoft.playwright.Locator.IsVisibleOptions
-
Deprecated.This option is ignored.
Locator.isVisible()
does not wait for the element to become visible and returns immediately. - setTimeout(double) - Method in class com.microsoft.playwright.Locator.PressOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.PressSequentiallyOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.ScrollIntoViewIfNeededOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.SelectOptionOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.SelectTextOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.SetCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.SetInputFilesOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.TapOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.TextContentOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.TypeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.UncheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Locator.WaitForOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in interface com.microsoft.playwright.options.RequestOptions
-
Sets request timeout in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.CheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.ClickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.DispatchEventOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.FillOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.FocusOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.GetAttributeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.GoBackOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.GoForwardOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.HoverOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.InnerHTMLOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.InnerTextOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.InputValueOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.IsCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.IsDisabledOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.IsEditableOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.IsEnabledOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.IsHiddenOptions
-
Deprecated.This option is ignored.
Page.isHidden()
does not wait for the element to become hidden and returns immediately. - setTimeout(double) - Method in class com.microsoft.playwright.Page.IsVisibleOptions
-
Deprecated.This option is ignored.
Page.isVisible()
does not wait for the element to become visible and returns immediately. - setTimeout(double) - Method in class com.microsoft.playwright.Page.NavigateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.PressOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.ReloadOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.SelectOptionOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.SetContentOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.SetInputFilesOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.TapOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.TextContentOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.TypeOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForCloseOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForConditionOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForConsoleMessageOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForDownloadOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForFileChooserOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForFunctionOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForLoadStateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForPopupOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForRequestFinishedOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForRequestOptions
-
Maximum wait time in milliseconds, defaults to 30 seconds, pass
0
to disable the timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForResponseOptions
-
Maximum wait time in milliseconds, defaults to 30 seconds, pass
0
to disable the timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForSelectorOptions
-
Maximum time in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForURLOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForWebSocketOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Page.WaitForWorkerOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Route.FetchOptions
-
Request timeout in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.WebSocket.WaitForFrameReceivedOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.WebSocket.WaitForFrameSentOptions
-
Maximum time to wait for in milliseconds.
- setTimeout(double) - Method in class com.microsoft.playwright.Worker.WaitForCloseOptions
-
Maximum time to wait for in milliseconds.
- setTimes(int) - Method in class com.microsoft.playwright.BrowserContext.RouteOptions
-
How often a route should be used.
- setTimes(int) - Method in class com.microsoft.playwright.Page.AddLocatorHandlerOptions
-
Specifies the maximum number of times this handler should be called.
- setTimes(int) - Method in class com.microsoft.playwright.Page.RouteOptions
-
How often a route should be used.
- setTimezoneId(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Changes the timezone of the context.
- setTimezoneId(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Changes the timezone of the context.
- setTimezoneId(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Changes the timezone of the context.
- setTitle(String) - Method in class com.microsoft.playwright.Tracing.StartChunkOptions
-
Trace name to be shown in the Trace Viewer.
- setTitle(String) - Method in class com.microsoft.playwright.Tracing.StartOptions
-
Trace name to be shown in the Trace Viewer.
- setTop(String) - Method in class com.microsoft.playwright.options.Margin
-
Top margin, accepts values labeled with units.
- setTrace(Options.Trace) - Method in class com.microsoft.playwright.junit.Options
- setTracesDir(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If specified, traces are saved into this directory.
- setTracesDir(Path) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If specified, traces are saved into this directory.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.DragAndDropOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Frame.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.DragToOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Locator.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.DragAndDropOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- setTrial(boolean) - Method in class com.microsoft.playwright.Page.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- setType(ScreenshotType) - Method in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Specify screenshot type, defaults to
png
. - setType(ScreenshotType) - Method in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Specify screenshot type, defaults to
png
. - setType(ScreenshotType) - Method in class com.microsoft.playwright.Page.ScreenshotOptions
-
Specify screenshot type, defaults to
png
. - setType(String) - Method in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
Script type.
- setType(String) - Method in class com.microsoft.playwright.Page.AddScriptTagOptions
-
Script type.
- setUpdate(boolean) - Method in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
If specified, updates the given HAR with the actual network information instead of serving from file.
- setUpdate(boolean) - Method in class com.microsoft.playwright.Page.RouteFromHAROptions
-
If specified, updates the given HAR with the actual network information instead of serving from file.
- setUpdateContent(RouteFromHarUpdateContentPolicy) - Method in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
Optional setting to control resource content management.
- setUpdateContent(RouteFromHarUpdateContentPolicy) - Method in class com.microsoft.playwright.Page.RouteFromHAROptions
-
Optional setting to control resource content management.
- setUpdateMode(HarMode) - Method in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
When set to
minimal
, only record information necessary for routing from HAR. - setUpdateMode(HarMode) - Method in class com.microsoft.playwright.Page.RouteFromHAROptions
-
When set to
minimal
, only record information necessary for routing from HAR. - setUrl(String) - Method in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
A glob pattern, regular expression or predicate to match the request URL.
- setUrl(String) - Method in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
URL of a script to be added.
- setUrl(String) - Method in class com.microsoft.playwright.Frame.AddStyleTagOptions
-
URL of the
<link>
tag. - setUrl(String) - Method in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- setUrl(String) - Method in class com.microsoft.playwright.options.Cookie
-
Either url or domain / path are required.
- setUrl(String) - Method in class com.microsoft.playwright.Page.AddScriptTagOptions
-
URL of a script to be added.
- setUrl(String) - Method in class com.microsoft.playwright.Page.AddStyleTagOptions
-
URL of the
<link>
tag. - setUrl(String) - Method in class com.microsoft.playwright.Page.RouteFromHAROptions
-
A glob pattern, regular expression or predicate to match the request URL.
- setUrl(String) - Method in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- setUrl(String) - Method in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the request URL.
- setUrl(String) - Method in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the request URL.
- setUrl(String) - Method in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the request URL.
- setUrl(Predicate<String>) - Method in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- setUrl(Predicate<String>) - Method in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- setUrl(Pattern) - Method in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
A glob pattern, regular expression or predicate to match the request URL.
- setUrl(Pattern) - Method in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- setUrl(Pattern) - Method in class com.microsoft.playwright.Page.RouteFromHAROptions
-
A glob pattern, regular expression or predicate to match the request URL.
- setUrl(Pattern) - Method in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- setUseInnerText(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
-
Whether to use
element.innerText
instead ofelement.textContent
when retrieving DOM node text. - setUseInnerText(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Whether to use
element.innerText
instead ofelement.textContent
when retrieving DOM node text. - setUserAgent(String) - Method in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Specific user agent to use in this context.
- setUserAgent(String) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Specific user agent to use in this context.
- setUserAgent(String) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Specific user agent to use in this context.
- setUserAgent(String) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specific user agent to use in this context.
- setUsername(String) - Method in class com.microsoft.playwright.options.Proxy
-
Optional username to use if HTTP proxy requires authentication.
- setValue(String) - Method in class com.microsoft.playwright.options.SelectOption
-
Matches by
option.value
. - setViewportSize(int, int) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates consistent viewport for each page.
- setViewportSize(int, int) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates consistent viewport for each page.
- setViewportSize(int, int) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates consistent viewport for each page.
- setViewportSize(int, int) - Method in interface com.microsoft.playwright.Page
-
In the case of multiple pages in a single browser, each page can have its own viewport size.
- setViewportSize(ViewportSize) - Method in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates consistent viewport for each page.
- setViewportSize(ViewportSize) - Method in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates consistent viewport for each page.
- setViewportSize(ViewportSize) - Method in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates consistent viewport for each page.
- setVisible(boolean) - Method in class com.microsoft.playwright.assertions.LocatorAssertions.IsVisibleOptions
- setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Frame.NavigateOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Frame.SetContentOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Frame.WaitForURLOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.GoBackOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.GoForwardOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.NavigateOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.ReloadOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.SetContentOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
When to consider operation succeeded, defaults to
load
. - setWaitUntil(WaitUntilState) - Method in class com.microsoft.playwright.Page.WaitForURLOptions
-
When to consider operation succeeded, defaults to
load
. - setWidth(String) - Method in class com.microsoft.playwright.Page.PdfOptions
-
Paper width, accepts values labeled with units.
- setWsEndpoint(String) - Method in class com.microsoft.playwright.junit.Options
- SHIFT - com.microsoft.playwright.options.KeyboardModifier
- sizes() - Method in interface com.microsoft.playwright.Request
-
Returns resource size information for given request.
- Sizes - Class in com.microsoft.playwright.options
- Sizes() - Constructor for class com.microsoft.playwright.options.Sizes
- SLIDER - com.microsoft.playwright.options.AriaRole
- slowMo - Variable in class com.microsoft.playwright.BrowserType.ConnectOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- slowMo - Variable in class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- slowMo - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- slowMo - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Slows down Playwright operations by the specified amount of milliseconds.
- snapshots - Variable in class com.microsoft.playwright.Tracing.StartOptions
-
If this option is true tracing will capture DOM snapshot on every action record network activity
- sourcePosition - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- sourcePosition - Variable in class com.microsoft.playwright.Locator.DragToOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- sourcePosition - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
Clicks on the source element at this point relative to the top-left corner of the element's padding box.
- sources - Variable in class com.microsoft.playwright.Tracing.StartOptions
-
Whether to include source files for trace actions.
- SPINBUTTON - com.microsoft.playwright.options.AriaRole
- STABLE - com.microsoft.playwright.options.ElementState
- start() - Method in interface com.microsoft.playwright.Tracing
-
Start tracing.
- start(Tracing.StartOptions) - Method in interface com.microsoft.playwright.Tracing
-
Start tracing.
- startChunk() - Method in interface com.microsoft.playwright.Tracing
-
Start a new trace chunk.
- startChunk(Tracing.StartChunkOptions) - Method in interface com.microsoft.playwright.Tracing
-
Start a new trace chunk.
- StartChunkOptions() - Constructor for class com.microsoft.playwright.Tracing.StartChunkOptions
- StartOptions() - Constructor for class com.microsoft.playwright.Tracing.StartOptions
- startTime - Variable in class com.microsoft.playwright.options.Timing
-
Request start time in milliseconds elapsed since January 1, 1970 00:00:00 UTC
- startTracing() - Method in interface com.microsoft.playwright.Browser
-
NOTE: This API controls Chromium Tracing which is a low-level chromium-specific debugging tool.
- startTracing(Page) - Method in interface com.microsoft.playwright.Browser
-
NOTE: This API controls Chromium Tracing which is a low-level chromium-specific debugging tool.
- startTracing(Page, Browser.StartTracingOptions) - Method in interface com.microsoft.playwright.Browser
-
NOTE: This API controls Chromium Tracing which is a low-level chromium-specific debugging tool.
- StartTracingOptions() - Constructor for class com.microsoft.playwright.Browser.StartTracingOptions
- state - Variable in class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
-
Defaults to
"visible"
. - state - Variable in class com.microsoft.playwright.Frame.WaitForSelectorOptions
-
Defaults to
"visible"
. - state - Variable in class com.microsoft.playwright.Locator.WaitForOptions
-
Defaults to
"visible"
. - state - Variable in class com.microsoft.playwright.Page.WaitForSelectorOptions
-
Defaults to
"visible"
. - status - Variable in class com.microsoft.playwright.Route.FulfillOptions
-
Response status code, defaults to
200
. - status() - Method in interface com.microsoft.playwright.APIResponse
-
Contains the status code of the response (e.g., 200 for a success).
- status() - Method in interface com.microsoft.playwright.Response
-
Contains the status code of the response (e.g., 200 for a success).
- STATUS - com.microsoft.playwright.options.AriaRole
- statusText() - Method in interface com.microsoft.playwright.APIResponse
-
Contains the status text of the response (e.g. usually an "OK" for a success).
- statusText() - Method in interface com.microsoft.playwright.Response
-
Contains the status text of the response (e.g. usually an "OK" for a success).
- steps - Variable in class com.microsoft.playwright.Mouse.MoveOptions
-
Defaults to 1.
- stop() - Method in interface com.microsoft.playwright.Tracing
-
Stop tracing.
- stop(Tracing.StopOptions) - Method in interface com.microsoft.playwright.Tracing
-
Stop tracing.
- stopChunk() - Method in interface com.microsoft.playwright.Tracing
-
Stop the trace chunk.
- stopChunk(Tracing.StopChunkOptions) - Method in interface com.microsoft.playwright.Tracing
-
Stop the trace chunk.
- StopChunkOptions() - Constructor for class com.microsoft.playwright.Tracing.StopChunkOptions
- StopOptions() - Constructor for class com.microsoft.playwright.Tracing.StopOptions
- stopTracing() - Method in interface com.microsoft.playwright.Browser
-
NOTE: This API controls Chromium Tracing which is a low-level chromium-specific debugging tool.
- storageState - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Populates context with given storage state.
- storageState - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Populates context with given storage state.
- storageState - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Populates context with given storage state.
- storageState() - Method in interface com.microsoft.playwright.APIRequestContext
-
Returns storage state for this request context, contains current cookies and local storage snapshot if it was passed to the constructor.
- storageState() - Method in interface com.microsoft.playwright.BrowserContext
-
Returns storage state for this browser context, contains current cookies and local storage snapshot.
- storageState(APIRequestContext.StorageStateOptions) - Method in interface com.microsoft.playwright.APIRequestContext
-
Returns storage state for this request context, contains current cookies and local storage snapshot if it was passed to the constructor.
- storageState(BrowserContext.StorageStateOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
Returns storage state for this browser context, contains current cookies and local storage snapshot.
- StorageStateOptions() - Constructor for class com.microsoft.playwright.APIRequestContext.StorageStateOptions
- StorageStateOptions() - Constructor for class com.microsoft.playwright.BrowserContext.StorageStateOptions
- storageStatePath - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Populates context with given storage state.
- storageStatePath - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Populates context with given storage state.
- storageStatePath - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Populates context with given storage state.
- strict - Variable in class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.CheckOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.DispatchEventOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.EvalOnSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.FillOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.FocusOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.GetAttributeOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.InnerHTMLOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.InnerTextOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.InputValueOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.IsCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.IsDisabledOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.IsEditableOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.IsEnabledOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.IsHiddenOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.IsVisibleOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.PressOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.QuerySelectorOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.SelectOptionOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.SetCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.SetInputFilesOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.TapOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.TextContentOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.TypeOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.UncheckOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Frame.WaitForSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.CheckOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.ClickOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.DispatchEventOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.EvalOnSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.FillOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.FocusOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.GetAttributeOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.HoverOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.InnerHTMLOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.InnerTextOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.InputValueOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.IsCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.IsDisabledOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.IsEditableOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.IsEnabledOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.IsHiddenOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.IsVisibleOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.PressOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.QuerySelectorOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.SelectOptionOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.SetCheckedOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.SetInputFilesOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.TapOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.TextContentOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.TypeOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.UncheckOptions
-
When true, the call requires selector to resolve to a single element.
- strict - Variable in class com.microsoft.playwright.Page.WaitForSelectorOptions
-
When true, the call requires selector to resolve to a single element.
- STRICT - com.microsoft.playwright.options.SameSiteAttribute
- strictSelectors - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
If set to true, enables strict selectors mode for this context.
- strictSelectors - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
If set to true, enables strict selectors mode for this context.
- strictSelectors - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If set to true, enables strict selectors mode for this context.
- STRONG - com.microsoft.playwright.options.AriaRole
- style - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Text of the stylesheet to apply while making the screenshot.
- style - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Text of the stylesheet to apply while making the screenshot.
- style - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
Text of the stylesheet to apply while making the screenshot.
- subjectName - Variable in class com.microsoft.playwright.options.SecurityDetails
-
Common Name component of the Subject field from the certificate.
- SUBSCRIPT - com.microsoft.playwright.options.AriaRole
- suggestedFilename() - Method in interface com.microsoft.playwright.Download
-
Returns suggested filename for this download.
- SUPERSCRIPT - com.microsoft.playwright.options.AriaRole
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.APIRequestContextExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.BrowserContextExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.BrowserExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.PageExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.PlaywrightExtension
- SWITCH - com.microsoft.playwright.options.AriaRole
T
- TAB - com.microsoft.playwright.options.AriaRole
- TABLE - com.microsoft.playwright.options.AriaRole
- TABLIST - com.microsoft.playwright.options.AriaRole
- TABPANEL - com.microsoft.playwright.options.AriaRole
- tagged - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Whether or not to generate tagged (accessible) PDF.
- tap() - Method in interface com.microsoft.playwright.ElementHandle
-
This method taps the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.touchscreen()
to tap the center of the element, or the specifiedposition
. - tap() - Method in interface com.microsoft.playwright.Locator
-
Perform a tap gesture on the element matching the locator.
- tap(double, double) - Method in interface com.microsoft.playwright.Touchscreen
-
Dispatches a
touchstart
andtouchend
event with a single touch at the position (x
,y
). - tap(ElementHandle.TapOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method taps the element by performing the following steps: Wait for actionability checks on the element, unless
force
option is set. Scroll the element into view if needed. UsePage.touchscreen()
to tap the center of the element, or the specifiedposition
. - tap(Locator.TapOptions) - Method in interface com.microsoft.playwright.Locator
-
Perform a tap gesture on the element matching the locator.
- tap(String) - Method in interface com.microsoft.playwright.Frame
-
This method taps an element matching
selector
by performing the following steps: Find an element matchingselector
. - tap(String) - Method in interface com.microsoft.playwright.Page
-
This method taps an element matching
selector
by performing the following steps: Find an element matchingselector
. - tap(String, Frame.TapOptions) - Method in interface com.microsoft.playwright.Frame
-
This method taps an element matching
selector
by performing the following steps: Find an element matchingselector
. - tap(String, Page.TapOptions) - Method in interface com.microsoft.playwright.Page
-
This method taps an element matching
selector
by performing the following steps: Find an element matchingselector
. - TapOptions() - Constructor for class com.microsoft.playwright.ElementHandle.TapOptions
- TapOptions() - Constructor for class com.microsoft.playwright.Frame.TapOptions
- TapOptions() - Constructor for class com.microsoft.playwright.Locator.TapOptions
- TapOptions() - Constructor for class com.microsoft.playwright.Page.TapOptions
- targetPosition - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- targetPosition - Variable in class com.microsoft.playwright.Locator.DragToOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- targetPosition - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
Drops on the target element at this point relative to the top-left corner of the element's padding box.
- TERM - com.microsoft.playwright.options.AriaRole
- testAborted(ExtensionContext, Throwable) - Method in class com.microsoft.playwright.impl.junit.BrowserContextExtension
- testFailed(ExtensionContext, Throwable) - Method in class com.microsoft.playwright.impl.junit.BrowserContextExtension
- testIdAttribute - Variable in class com.microsoft.playwright.junit.Options
- testSuccessful(ExtensionContext) - Method in class com.microsoft.playwright.impl.junit.BrowserContextExtension
- text() - Method in interface com.microsoft.playwright.APIResponse
-
Returns the text representation of response body.
- text() - Method in interface com.microsoft.playwright.ConsoleMessage
-
The text of the console message.
- text() - Method in interface com.microsoft.playwright.Response
-
Returns the text representation of response body.
- text() - Method in interface com.microsoft.playwright.WebSocketFrame
-
Returns text payload.
- TEXTBOX - com.microsoft.playwright.options.AriaRole
- textContent() - Method in interface com.microsoft.playwright.ElementHandle
-
Returns the
node.textContent
. - textContent() - Method in interface com.microsoft.playwright.Locator
-
Returns the
node.textContent
. - textContent(Locator.TextContentOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns the
node.textContent
. - textContent(String) - Method in interface com.microsoft.playwright.Frame
-
Returns
element.textContent
. - textContent(String) - Method in interface com.microsoft.playwright.Page
-
Returns
element.textContent
. - textContent(String, Frame.TextContentOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns
element.textContent
. - textContent(String, Page.TextContentOptions) - Method in interface com.microsoft.playwright.Page
-
Returns
element.textContent
. - TextContentOptions() - Constructor for class com.microsoft.playwright.Frame.TextContentOptions
- TextContentOptions() - Constructor for class com.microsoft.playwright.Locator.TextContentOptions
- TextContentOptions() - Constructor for class com.microsoft.playwright.Page.TextContentOptions
- time - Variable in class com.microsoft.playwright.Clock.InstallOptions
-
Time to initialize with, current system time by default.
- TIME - com.microsoft.playwright.options.AriaRole
- timeout - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Maximum time in milliseconds to wait for the response.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleDescriptionOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasAccessibleNameOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasAttributeOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasClassOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasCountOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasCSSOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasIdOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasJSPropertyOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasRoleOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasValueOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasValuesOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsAttachedOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsCheckedOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsDisabledOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsEditableOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsEmptyOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsEnabledOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsFocusedOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsHiddenOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsInViewportOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsVisibleOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.PageAssertions.HasTitleOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.assertions.PageAssertions.HasURLOptions
-
Time to retry the assertion for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.BrowserContext.WaitForConditionOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.BrowserContext.WaitForConsoleMessageOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.BrowserContext.WaitForPageOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.BrowserType.ConnectOptions
-
Maximum time in milliseconds to wait for the connection to be established.
- timeout - Variable in class com.microsoft.playwright.BrowserType.ConnectOverCDPOptions
-
Maximum time in milliseconds to wait for the connection to be established.
- timeout - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
Maximum time in milliseconds to wait for the browser instance to start.
- timeout - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Maximum time in milliseconds to wait for the browser instance to start.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.CheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.FillOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.HoverOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.InputValueOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.PressOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.ScrollIntoViewIfNeededOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.SelectTextOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.SetInputFilesOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.TapOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.TypeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.WaitForElementStateOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.FileChooser.SetFilesOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.CheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.DispatchEventOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.FillOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.FocusOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.GetAttributeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.InnerHTMLOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.InnerTextOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.InputValueOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.IsCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.IsDisabledOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.IsEditableOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.IsEnabledOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.IsHiddenOptions
-
Deprecated.This option is ignored.
Frame.isHidden()
does not wait for the element to become hidden and returns immediately. - timeout - Variable in class com.microsoft.playwright.Frame.IsVisibleOptions
-
Deprecated.This option is ignored.
Frame.isVisible()
does not wait for the element to become visible and returns immediately. - timeout - Variable in class com.microsoft.playwright.Frame.NavigateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Frame.PressOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.SelectOptionOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.SetCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.SetContentOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Frame.SetInputFilesOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.TapOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.TextContentOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.TypeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.UncheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.WaitForFunctionOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.WaitForLoadStateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Frame.WaitForSelectorOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Frame.WaitForURLOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Locator.BlurOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.BoundingBoxOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.CheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.ClearOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.DispatchEventOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.DragToOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.ElementHandleOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.EvaluateHandleOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.EvaluateOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.FillOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.FocusOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.GetAttributeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.HoverOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.InnerHTMLOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.InnerTextOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.InputValueOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.IsCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.IsDisabledOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.IsEditableOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.IsEnabledOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.IsHiddenOptions
-
Deprecated.This option is ignored.
Locator.isHidden()
does not wait for the element to become hidden and returns immediately. - timeout - Variable in class com.microsoft.playwright.Locator.IsVisibleOptions
-
Deprecated.This option is ignored.
Locator.isVisible()
does not wait for the element to become visible and returns immediately. - timeout - Variable in class com.microsoft.playwright.Locator.PressOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.PressSequentiallyOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.ScrollIntoViewIfNeededOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.SelectOptionOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.SelectTextOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.SetCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.SetInputFilesOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.TapOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.TextContentOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.TypeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.UncheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Locator.WaitForOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.CheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.ClickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.DispatchEventOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.FillOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.FocusOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.GetAttributeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.GoBackOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.GoForwardOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.HoverOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.InnerHTMLOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.InnerTextOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.InputValueOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.IsCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.IsDisabledOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.IsEditableOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.IsEnabledOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.IsHiddenOptions
-
Deprecated.This option is ignored.
Page.isHidden()
does not wait for the element to become hidden and returns immediately. - timeout - Variable in class com.microsoft.playwright.Page.IsVisibleOptions
-
Deprecated.This option is ignored.
Page.isVisible()
does not wait for the element to become visible and returns immediately. - timeout - Variable in class com.microsoft.playwright.Page.NavigateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.PressOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.ReloadOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.SelectOptionOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.SetCheckedOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.SetContentOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.SetInputFilesOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.TapOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.TextContentOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.TypeOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.UncheckOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForCloseOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForConditionOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForConsoleMessageOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForDownloadOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForFileChooserOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForFunctionOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForLoadStateOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.WaitForPopupOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForRequestFinishedOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForRequestOptions
-
Maximum wait time in milliseconds, defaults to 30 seconds, pass
0
to disable the timeout. - timeout - Variable in class com.microsoft.playwright.Page.WaitForResponseOptions
-
Maximum wait time in milliseconds, defaults to 30 seconds, pass
0
to disable the timeout. - timeout - Variable in class com.microsoft.playwright.Page.WaitForSelectorOptions
-
Maximum time in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForURLOptions
-
Maximum operation time in milliseconds, defaults to 30 seconds, pass
0
to disable timeout. - timeout - Variable in class com.microsoft.playwright.Page.WaitForWebSocketOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Page.WaitForWorkerOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Route.FetchOptions
-
Request timeout in milliseconds.
- timeout - Variable in class com.microsoft.playwright.WebSocket.WaitForFrameReceivedOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.WebSocket.WaitForFrameSentOptions
-
Maximum time to wait for in milliseconds.
- timeout - Variable in class com.microsoft.playwright.Worker.WaitForCloseOptions
-
Maximum time to wait for in milliseconds.
- TimeoutError - Exception in com.microsoft.playwright
-
TimeoutError is emitted whenever certain operations are terminated due to timeout, e.g.
- TimeoutError(String) - Constructor for exception com.microsoft.playwright.TimeoutError
- TimeoutError(String, Throwable) - Constructor for exception com.microsoft.playwright.TimeoutError
- TIMER - com.microsoft.playwright.options.AriaRole
- times - Variable in class com.microsoft.playwright.BrowserContext.RouteOptions
-
How often a route should be used.
- times - Variable in class com.microsoft.playwright.Page.AddLocatorHandlerOptions
-
Specifies the maximum number of times this handler should be called.
- times - Variable in class com.microsoft.playwright.Page.RouteOptions
-
How often a route should be used.
- timezoneId - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Changes the timezone of the context.
- timezoneId - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Changes the timezone of the context.
- timezoneId - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Changes the timezone of the context.
- timing() - Method in interface com.microsoft.playwright.Request
-
Returns resource timing information for given request.
- Timing - Class in com.microsoft.playwright.options
- Timing() - Constructor for class com.microsoft.playwright.options.Timing
- title - Variable in class com.microsoft.playwright.Tracing.StartChunkOptions
-
Trace name to be shown in the Trace Viewer.
- title - Variable in class com.microsoft.playwright.Tracing.StartOptions
-
Trace name to be shown in the Trace Viewer.
- title() - Method in interface com.microsoft.playwright.Frame
-
Returns the page title.
- title() - Method in interface com.microsoft.playwright.Page
-
Returns the page's title.
- TOOLBAR - com.microsoft.playwright.options.AriaRole
- TOOLTIP - com.microsoft.playwright.options.AriaRole
- top - Variable in class com.microsoft.playwright.options.Margin
-
Top margin, accepts values labeled with units.
- touchscreen() - Method in interface com.microsoft.playwright.Page
- Touchscreen - Interface in com.microsoft.playwright
-
The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport.
- trace - Variable in class com.microsoft.playwright.junit.Options
- tracesDir - Variable in class com.microsoft.playwright.BrowserType.LaunchOptions
-
If specified, traces are saved into this directory.
- tracesDir - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
If specified, traces are saved into this directory.
- tracing() - Method in interface com.microsoft.playwright.BrowserContext
- Tracing - Interface in com.microsoft.playwright
-
API for collecting and saving Playwright traces.
- Tracing.StartChunkOptions - Class in com.microsoft.playwright
- Tracing.StartOptions - Class in com.microsoft.playwright
- Tracing.StopChunkOptions - Class in com.microsoft.playwright
- Tracing.StopOptions - Class in com.microsoft.playwright
- TREE - com.microsoft.playwright.options.AriaRole
- TREEGRID - com.microsoft.playwright.options.AriaRole
- TREEITEM - com.microsoft.playwright.options.AriaRole
- trial - Variable in class com.microsoft.playwright.ElementHandle.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.ElementHandle.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.ElementHandle.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.ElementHandle.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.ElementHandle.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.ElementHandle.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.ElementHandle.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.DragAndDropOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Frame.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.DragToOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Locator.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.CheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.ClickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.DblclickOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.DragAndDropOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.HoverOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.SetCheckedOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.TapOptions
-
When set, this method only performs the actionability checks and skips the action.
- trial - Variable in class com.microsoft.playwright.Page.UncheckOptions
-
When set, this method only performs the actionability checks and skips the action.
- type - Variable in class com.microsoft.playwright.ElementHandle.ScreenshotOptions
-
Specify screenshot type, defaults to
png
. - type - Variable in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
Script type.
- type - Variable in class com.microsoft.playwright.Locator.ScreenshotOptions
-
Specify screenshot type, defaults to
png
. - type - Variable in class com.microsoft.playwright.Page.AddScriptTagOptions
-
Script type.
- type - Variable in class com.microsoft.playwright.Page.ScreenshotOptions
-
Specify screenshot type, defaults to
png
. - type() - Method in interface com.microsoft.playwright.ConsoleMessage
-
One of the following values:
"log"
,"debug"
,"info"
,"error"
,"warning"
,"dir"
,"dirxml"
,"table"
,"trace"
,"clear"
,"startGroup"
,"startGroupCollapsed"
,"endGroup"
,"assert"
,"profile"
,"profileEnd"
,"count"
,"timeEnd"
. - type() - Method in interface com.microsoft.playwright.Dialog
-
Returns dialog's type, can be one of
alert
,beforeunload
,confirm
orprompt
. - type(String) - Method in interface com.microsoft.playwright.ElementHandle
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String) - Method in interface com.microsoft.playwright.Keyboard
-
NOTE: In most cases, you should use
Locator.fill()
instead. - type(String) - Method in interface com.microsoft.playwright.Locator
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String, ElementHandle.TypeOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String, Keyboard.TypeOptions) - Method in interface com.microsoft.playwright.Keyboard
-
NOTE: In most cases, you should use
Locator.fill()
instead. - type(String, Locator.TypeOptions) - Method in interface com.microsoft.playwright.Locator
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String, String) - Method in interface com.microsoft.playwright.Frame
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String, String) - Method in interface com.microsoft.playwright.Page
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String, String, Frame.TypeOptions) - Method in interface com.microsoft.playwright.Frame
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - type(String, String, Page.TypeOptions) - Method in interface com.microsoft.playwright.Page
-
Deprecated.In most cases, you should use
Locator.fill()
instead. You only need to press keys one by one if there is special keyboard handling on the page - in this case useLocator.pressSequentially()
. - TypeOptions() - Constructor for class com.microsoft.playwright.ElementHandle.TypeOptions
- TypeOptions() - Constructor for class com.microsoft.playwright.Frame.TypeOptions
- TypeOptions() - Constructor for class com.microsoft.playwright.Keyboard.TypeOptions
- TypeOptions() - Constructor for class com.microsoft.playwright.Locator.TypeOptions
- TypeOptions() - Constructor for class com.microsoft.playwright.Page.TypeOptions
U
- UNAUTHORIZED - com.microsoft.playwright.options.HttpCredentialsSend
- uncheck() - Method in interface com.microsoft.playwright.ElementHandle
-
This method checks the element by performing the following steps: Ensure that element is a checkbox or a radio input.
- uncheck() - Method in interface com.microsoft.playwright.Locator
-
Ensure that checkbox or radio element is unchecked.
- uncheck(ElementHandle.UncheckOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
This method checks the element by performing the following steps: Ensure that element is a checkbox or a radio input.
- uncheck(Locator.UncheckOptions) - Method in interface com.microsoft.playwright.Locator
-
Ensure that checkbox or radio element is unchecked.
- uncheck(String) - Method in interface com.microsoft.playwright.Frame
-
This method checks an element matching
selector
by performing the following steps: Find an element matchingselector
. - uncheck(String) - Method in interface com.microsoft.playwright.Page
-
This method unchecks an element matching
selector
by performing the following steps: Find an element matchingselector
. - uncheck(String, Frame.UncheckOptions) - Method in interface com.microsoft.playwright.Frame
-
This method checks an element matching
selector
by performing the following steps: Find an element matchingselector
. - uncheck(String, Page.UncheckOptions) - Method in interface com.microsoft.playwright.Page
-
This method unchecks an element matching
selector
by performing the following steps: Find an element matchingselector
. - UncheckOptions() - Constructor for class com.microsoft.playwright.ElementHandle.UncheckOptions
- UncheckOptions() - Constructor for class com.microsoft.playwright.Frame.UncheckOptions
- UncheckOptions() - Constructor for class com.microsoft.playwright.Locator.UncheckOptions
- UncheckOptions() - Constructor for class com.microsoft.playwright.Page.UncheckOptions
- unroute(String) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes a route created with
BrowserContext.route()
. - unroute(String) - Method in interface com.microsoft.playwright.Page
-
Removes a route created with
Page.route()
. - unroute(String, Consumer<Route>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes a route created with
BrowserContext.route()
. - unroute(String, Consumer<Route>) - Method in interface com.microsoft.playwright.Page
-
Removes a route created with
Page.route()
. - unroute(Predicate<String>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes a route created with
BrowserContext.route()
. - unroute(Predicate<String>) - Method in interface com.microsoft.playwright.Page
-
Removes a route created with
Page.route()
. - unroute(Predicate<String>, Consumer<Route>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes a route created with
BrowserContext.route()
. - unroute(Predicate<String>, Consumer<Route>) - Method in interface com.microsoft.playwright.Page
-
Removes a route created with
Page.route()
. - unroute(Pattern) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes a route created with
BrowserContext.route()
. - unroute(Pattern) - Method in interface com.microsoft.playwright.Page
-
Removes a route created with
Page.route()
. - unroute(Pattern, Consumer<Route>) - Method in interface com.microsoft.playwright.BrowserContext
-
Removes a route created with
BrowserContext.route()
. - unroute(Pattern, Consumer<Route>) - Method in interface com.microsoft.playwright.Page
-
Removes a route created with
Page.route()
. - unrouteAll() - Method in interface com.microsoft.playwright.BrowserContext
-
Removes all routes created with
BrowserContext.route()
andBrowserContext.routeFromHAR()
. - unrouteAll() - Method in interface com.microsoft.playwright.Page
-
Removes all routes created with
Page.route()
andPage.routeFromHAR()
. - up() - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
mouseup
event. - up(Mouse.UpOptions) - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
mouseup
event. - up(String) - Method in interface com.microsoft.playwright.Keyboard
-
Dispatches a
keyup
event. - update - Variable in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
If specified, updates the given HAR with the actual network information instead of serving from file.
- update - Variable in class com.microsoft.playwright.Page.RouteFromHAROptions
-
If specified, updates the given HAR with the actual network information instead of serving from file.
- updateContent - Variable in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
Optional setting to control resource content management.
- updateContent - Variable in class com.microsoft.playwright.Page.RouteFromHAROptions
-
Optional setting to control resource content management.
- updateMode - Variable in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
When set to
minimal
, only record information necessary for routing from HAR. - updateMode - Variable in class com.microsoft.playwright.Page.RouteFromHAROptions
-
When set to
minimal
, only record information necessary for routing from HAR. - UpOptions() - Constructor for class com.microsoft.playwright.Mouse.UpOptions
- url - Variable in class com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
A glob pattern, regular expression or predicate to match the request URL.
- url - Variable in class com.microsoft.playwright.Frame.AddScriptTagOptions
-
URL of a script to be added.
- url - Variable in class com.microsoft.playwright.Frame.AddStyleTagOptions
-
URL of the
<link>
tag. - url - Variable in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- url - Variable in class com.microsoft.playwright.options.Cookie
-
Either url or domain / path are required.
- url - Variable in class com.microsoft.playwright.Page.AddScriptTagOptions
-
URL of a script to be added.
- url - Variable in class com.microsoft.playwright.Page.AddStyleTagOptions
-
URL of the
<link>
tag. - url - Variable in class com.microsoft.playwright.Page.RouteFromHAROptions
-
A glob pattern, regular expression or predicate to match the request URL.
- url - Variable in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
A glob pattern, regex pattern or predicate receiving [URL] to match while waiting for the navigation.
- url - Variable in class com.microsoft.playwright.Route.FallbackOptions
-
If set changes the request URL.
- url - Variable in class com.microsoft.playwright.Route.FetchOptions
-
If set changes the request URL.
- url - Variable in class com.microsoft.playwright.Route.ResumeOptions
-
If set changes the request URL.
- url() - Method in interface com.microsoft.playwright.APIResponse
-
Contains the URL of the response.
- url() - Method in interface com.microsoft.playwright.Download
-
Returns downloaded url.
- url() - Method in interface com.microsoft.playwright.Frame
-
Returns frame's url.
- url() - Method in interface com.microsoft.playwright.Page
- url() - Method in interface com.microsoft.playwright.Request
-
URL of the request.
- url() - Method in interface com.microsoft.playwright.Response
-
Contains the URL of the response.
- url() - Method in interface com.microsoft.playwright.WebSocket
-
Contains the URL of the WebSocket.
- url() - Method in interface com.microsoft.playwright.Worker
- useInnerText - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.ContainsTextOptions
-
Whether to use
element.innerText
instead ofelement.textContent
when retrieving DOM node text. - useInnerText - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.HasTextOptions
-
Whether to use
element.innerText
instead ofelement.textContent
when retrieving DOM node text. - UsePlaywright - Annotation Type in com.microsoft.playwright.junit
-
NOTE: this API is experimental and is subject to changes.
- userAgent - Variable in class com.microsoft.playwright.APIRequest.NewContextOptions
-
Specific user agent to use in this context.
- userAgent - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Specific user agent to use in this context.
- userAgent - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Specific user agent to use in this context.
- userAgent - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Specific user agent to use in this context.
- username - Variable in class com.microsoft.playwright.options.HttpCredentials
- username - Variable in class com.microsoft.playwright.options.Proxy
-
Optional username to use if HTTP proxy requires authentication.
V
- validFrom - Variable in class com.microsoft.playwright.options.SecurityDetails
-
Unix timestamp (in seconds) specifying when this cert becomes valid.
- validTo - Variable in class com.microsoft.playwright.options.SecurityDetails
-
Unix timestamp (in seconds) specifying when this cert becomes invalid.
- value - Variable in class com.microsoft.playwright.options.Cookie
- value - Variable in class com.microsoft.playwright.options.HttpHeader
-
Value of the header.
- value - Variable in class com.microsoft.playwright.options.SelectOption
-
Matches by
option.value
. - value() - Method in annotation type com.microsoft.playwright.junit.UsePlaywright
- valueOf(String) - Static method in enum com.microsoft.playwright.junit.Options.Trace
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.AriaRole
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.BrowserChannel
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ColorScheme
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ElementState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ForcedColors
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.HarContentPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.HarMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.HarNotFound
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.HttpCredentialsSend
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.KeyboardModifier
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.LoadState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.Media
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.MouseButton
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ReducedMotion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.RouteFromHarUpdateContentPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.SameSiteAttribute
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ScreenshotAnimations
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ScreenshotCaret
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ScreenshotScale
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ScreenshotType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.ServiceWorkerPolicy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.WaitForSelectorState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.playwright.options.WaitUntilState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.microsoft.playwright.junit.Options.Trace
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.AriaRole
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.BrowserChannel
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ColorScheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ElementState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ForcedColors
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.HarContentPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.HarMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.HarNotFound
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.HttpCredentialsSend
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.KeyboardModifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.LoadState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.Media
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.MouseButton
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ReducedMotion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.RouteFromHarUpdateContentPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.SameSiteAttribute
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ScreenshotAnimations
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ScreenshotCaret
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ScreenshotScale
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ScreenshotType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.ServiceWorkerPolicy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.WaitForSelectorState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.playwright.options.WaitUntilState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in interface com.microsoft.playwright.Browser
-
Returns the browser version.
- video() - Method in interface com.microsoft.playwright.Page
-
Video object associated with this page.
- Video - Interface in com.microsoft.playwright
-
When browser context is created with the
recordVideo
option, each page has a video object associated with it. - viewportSize - Variable in class com.microsoft.playwright.Browser.NewContextOptions
-
Emulates consistent viewport for each page.
- viewportSize - Variable in class com.microsoft.playwright.Browser.NewPageOptions
-
Emulates consistent viewport for each page.
- viewportSize - Variable in class com.microsoft.playwright.BrowserType.LaunchPersistentContextOptions
-
Emulates consistent viewport for each page.
- viewportSize() - Method in interface com.microsoft.playwright.Page
- ViewportSize - Class in com.microsoft.playwright.options
- ViewportSize(int, int) - Constructor for class com.microsoft.playwright.options.ViewportSize
- visible - Variable in class com.microsoft.playwright.assertions.LocatorAssertions.IsVisibleOptions
- VISIBLE - com.microsoft.playwright.options.ElementState
- VISIBLE - com.microsoft.playwright.options.WaitForSelectorState
W
- waitFor() - Method in interface com.microsoft.playwright.Locator
-
Returns when element specified by locator satisfies the
state
option. - waitFor(Locator.WaitForOptions) - Method in interface com.microsoft.playwright.Locator
-
Returns when element specified by locator satisfies the
state
option. - waitForClose(Page.WaitForCloseOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for the Page to close.
- waitForClose(Worker.WaitForCloseOptions, Runnable) - Method in interface com.microsoft.playwright.Worker
-
Performs action and waits for the Worker to close.
- waitForClose(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for the Page to close.
- waitForClose(Runnable) - Method in interface com.microsoft.playwright.Worker
-
Performs action and waits for the Worker to close.
- WaitForCloseOptions() - Constructor for class com.microsoft.playwright.Page.WaitForCloseOptions
- WaitForCloseOptions() - Constructor for class com.microsoft.playwright.Worker.WaitForCloseOptions
- waitForCondition(BooleanSupplier) - Method in interface com.microsoft.playwright.BrowserContext
-
The method will block until the condition returns true.
- waitForCondition(BooleanSupplier) - Method in interface com.microsoft.playwright.Page
-
The method will block until the condition returns true.
- waitForCondition(BooleanSupplier, BrowserContext.WaitForConditionOptions) - Method in interface com.microsoft.playwright.BrowserContext
-
The method will block until the condition returns true.
- waitForCondition(BooleanSupplier, Page.WaitForConditionOptions) - Method in interface com.microsoft.playwright.Page
-
The method will block until the condition returns true.
- WaitForConditionOptions() - Constructor for class com.microsoft.playwright.BrowserContext.WaitForConditionOptions
- WaitForConditionOptions() - Constructor for class com.microsoft.playwright.Page.WaitForConditionOptions
- waitForConsoleMessage(BrowserContext.WaitForConsoleMessageOptions, Runnable) - Method in interface com.microsoft.playwright.BrowserContext
-
Performs action and waits for a
ConsoleMessage
to be logged by in the pages in the context. - waitForConsoleMessage(Page.WaitForConsoleMessageOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a
ConsoleMessage
to be logged by in the page. - waitForConsoleMessage(Runnable) - Method in interface com.microsoft.playwright.BrowserContext
-
Performs action and waits for a
ConsoleMessage
to be logged by in the pages in the context. - waitForConsoleMessage(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a
ConsoleMessage
to be logged by in the page. - WaitForConsoleMessageOptions() - Constructor for class com.microsoft.playwright.BrowserContext.WaitForConsoleMessageOptions
- WaitForConsoleMessageOptions() - Constructor for class com.microsoft.playwright.Page.WaitForConsoleMessageOptions
- waitForDownload(Page.WaitForDownloadOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
Download
. - waitForDownload(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
Download
. - WaitForDownloadOptions() - Constructor for class com.microsoft.playwright.Page.WaitForDownloadOptions
- waitForElementState(ElementState) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns when the element satisfies the
state
. - waitForElementState(ElementState, ElementHandle.WaitForElementStateOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns when the element satisfies the
state
. - WaitForElementStateOptions() - Constructor for class com.microsoft.playwright.ElementHandle.WaitForElementStateOptions
- waitForFileChooser(Page.WaitForFileChooserOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
FileChooser
to be created. - waitForFileChooser(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
FileChooser
to be created. - WaitForFileChooserOptions() - Constructor for class com.microsoft.playwright.Page.WaitForFileChooserOptions
- waitForFrameReceived(WebSocket.WaitForFrameReceivedOptions, Runnable) - Method in interface com.microsoft.playwright.WebSocket
-
Performs action and waits for a frame to be sent.
- waitForFrameReceived(Runnable) - Method in interface com.microsoft.playwright.WebSocket
-
Performs action and waits for a frame to be sent.
- WaitForFrameReceivedOptions() - Constructor for class com.microsoft.playwright.WebSocket.WaitForFrameReceivedOptions
- waitForFrameSent(WebSocket.WaitForFrameSentOptions, Runnable) - Method in interface com.microsoft.playwright.WebSocket
-
Performs action and waits for a frame to be sent.
- waitForFrameSent(Runnable) - Method in interface com.microsoft.playwright.WebSocket
-
Performs action and waits for a frame to be sent.
- WaitForFrameSentOptions() - Constructor for class com.microsoft.playwright.WebSocket.WaitForFrameSentOptions
- waitForFunction(String) - Method in interface com.microsoft.playwright.Frame
-
Returns when the
expression
returns a truthy value, returns that value. - waitForFunction(String) - Method in interface com.microsoft.playwright.Page
-
Returns when the
expression
returns a truthy value. - waitForFunction(String, Object) - Method in interface com.microsoft.playwright.Frame
-
Returns when the
expression
returns a truthy value, returns that value. - waitForFunction(String, Object) - Method in interface com.microsoft.playwright.Page
-
Returns when the
expression
returns a truthy value. - waitForFunction(String, Object, Frame.WaitForFunctionOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns when the
expression
returns a truthy value, returns that value. - waitForFunction(String, Object, Page.WaitForFunctionOptions) - Method in interface com.microsoft.playwright.Page
-
Returns when the
expression
returns a truthy value. - WaitForFunctionOptions() - Constructor for class com.microsoft.playwright.Frame.WaitForFunctionOptions
- WaitForFunctionOptions() - Constructor for class com.microsoft.playwright.Page.WaitForFunctionOptions
- waitForLoadState() - Method in interface com.microsoft.playwright.Frame
-
Waits for the required load state to be reached.
- waitForLoadState() - Method in interface com.microsoft.playwright.Page
-
Returns when the required load state has been reached.
- waitForLoadState(LoadState) - Method in interface com.microsoft.playwright.Frame
-
Waits for the required load state to be reached.
- waitForLoadState(LoadState) - Method in interface com.microsoft.playwright.Page
-
Returns when the required load state has been reached.
- waitForLoadState(LoadState, Frame.WaitForLoadStateOptions) - Method in interface com.microsoft.playwright.Frame
-
Waits for the required load state to be reached.
- waitForLoadState(LoadState, Page.WaitForLoadStateOptions) - Method in interface com.microsoft.playwright.Page
-
Returns when the required load state has been reached.
- WaitForLoadStateOptions() - Constructor for class com.microsoft.playwright.Frame.WaitForLoadStateOptions
- WaitForLoadStateOptions() - Constructor for class com.microsoft.playwright.Page.WaitForLoadStateOptions
- waitForNavigation(Frame.WaitForNavigationOptions, Runnable) - Method in interface com.microsoft.playwright.Frame
-
Deprecated.This method is inherently racy, please use
Frame.waitForURL()
instead. - waitForNavigation(Page.WaitForNavigationOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Deprecated.This method is inherently racy, please use
Page.waitForURL()
instead. - waitForNavigation(Runnable) - Method in interface com.microsoft.playwright.Frame
-
Deprecated.This method is inherently racy, please use
Frame.waitForURL()
instead. - waitForNavigation(Runnable) - Method in interface com.microsoft.playwright.Page
-
Deprecated.This method is inherently racy, please use
Page.waitForURL()
instead. - WaitForNavigationOptions() - Constructor for class com.microsoft.playwright.Frame.WaitForNavigationOptions
- WaitForNavigationOptions() - Constructor for class com.microsoft.playwright.Page.WaitForNavigationOptions
- WaitForOptions() - Constructor for class com.microsoft.playwright.Locator.WaitForOptions
- waitForPage(BrowserContext.WaitForPageOptions, Runnable) - Method in interface com.microsoft.playwright.BrowserContext
-
Performs action and waits for a new
Page
to be created in the context. - waitForPage(Runnable) - Method in interface com.microsoft.playwright.BrowserContext
-
Performs action and waits for a new
Page
to be created in the context. - WaitForPageOptions() - Constructor for class com.microsoft.playwright.BrowserContext.WaitForPageOptions
- waitForPopup(Page.WaitForPopupOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a popup
Page
. - waitForPopup(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a popup
Page
. - WaitForPopupOptions() - Constructor for class com.microsoft.playwright.Page.WaitForPopupOptions
- waitForRequest(String, Page.WaitForRequestOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Waits for the matching request and returns it.
- waitForRequest(String, Runnable) - Method in interface com.microsoft.playwright.Page
-
Waits for the matching request and returns it.
- waitForRequest(Predicate<Request>, Page.WaitForRequestOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Waits for the matching request and returns it.
- waitForRequest(Predicate<Request>, Runnable) - Method in interface com.microsoft.playwright.Page
-
Waits for the matching request and returns it.
- waitForRequest(Pattern, Page.WaitForRequestOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Waits for the matching request and returns it.
- waitForRequest(Pattern, Runnable) - Method in interface com.microsoft.playwright.Page
-
Waits for the matching request and returns it.
- waitForRequestFinished(Page.WaitForRequestFinishedOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a
Request
to finish loading. - waitForRequestFinished(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a
Request
to finish loading. - WaitForRequestFinishedOptions() - Constructor for class com.microsoft.playwright.Page.WaitForRequestFinishedOptions
- WaitForRequestOptions() - Constructor for class com.microsoft.playwright.Page.WaitForRequestOptions
- waitForResponse(String, Page.WaitForResponseOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Returns the matched response.
- waitForResponse(String, Runnable) - Method in interface com.microsoft.playwright.Page
-
Returns the matched response.
- waitForResponse(Predicate<Response>, Page.WaitForResponseOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Returns the matched response.
- waitForResponse(Predicate<Response>, Runnable) - Method in interface com.microsoft.playwright.Page
-
Returns the matched response.
- waitForResponse(Pattern, Page.WaitForResponseOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Returns the matched response.
- waitForResponse(Pattern, Runnable) - Method in interface com.microsoft.playwright.Page
-
Returns the matched response.
- WaitForResponseOptions() - Constructor for class com.microsoft.playwright.Page.WaitForResponseOptions
- waitForSelector(String) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns element specified by selector when it satisfies
state
option. - waitForSelector(String) - Method in interface com.microsoft.playwright.Frame
-
Returns when element specified by selector satisfies
state
option. - waitForSelector(String) - Method in interface com.microsoft.playwright.Page
-
Returns when element specified by selector satisfies
state
option. - waitForSelector(String, ElementHandle.WaitForSelectorOptions) - Method in interface com.microsoft.playwright.ElementHandle
-
Returns element specified by selector when it satisfies
state
option. - waitForSelector(String, Frame.WaitForSelectorOptions) - Method in interface com.microsoft.playwright.Frame
-
Returns when element specified by selector satisfies
state
option. - waitForSelector(String, Page.WaitForSelectorOptions) - Method in interface com.microsoft.playwright.Page
-
Returns when element specified by selector satisfies
state
option. - WaitForSelectorOptions() - Constructor for class com.microsoft.playwright.ElementHandle.WaitForSelectorOptions
- WaitForSelectorOptions() - Constructor for class com.microsoft.playwright.Frame.WaitForSelectorOptions
- WaitForSelectorOptions() - Constructor for class com.microsoft.playwright.Page.WaitForSelectorOptions
- WaitForSelectorState - Enum in com.microsoft.playwright.options
- waitForTimeout(double) - Method in interface com.microsoft.playwright.Frame
-
Waits for the given
timeout
in milliseconds. - waitForTimeout(double) - Method in interface com.microsoft.playwright.Page
-
Waits for the given
timeout
in milliseconds. - waitForURL(String) - Method in interface com.microsoft.playwright.Frame
-
Waits for the frame to navigate to the given URL.
- waitForURL(String) - Method in interface com.microsoft.playwright.Page
-
Waits for the main frame to navigate to the given URL.
- waitForURL(String, Frame.WaitForURLOptions) - Method in interface com.microsoft.playwright.Frame
-
Waits for the frame to navigate to the given URL.
- waitForURL(String, Page.WaitForURLOptions) - Method in interface com.microsoft.playwright.Page
-
Waits for the main frame to navigate to the given URL.
- waitForURL(Predicate<String>) - Method in interface com.microsoft.playwright.Frame
-
Waits for the frame to navigate to the given URL.
- waitForURL(Predicate<String>) - Method in interface com.microsoft.playwright.Page
-
Waits for the main frame to navigate to the given URL.
- waitForURL(Predicate<String>, Frame.WaitForURLOptions) - Method in interface com.microsoft.playwright.Frame
-
Waits for the frame to navigate to the given URL.
- waitForURL(Predicate<String>, Page.WaitForURLOptions) - Method in interface com.microsoft.playwright.Page
-
Waits for the main frame to navigate to the given URL.
- waitForURL(Pattern) - Method in interface com.microsoft.playwright.Frame
-
Waits for the frame to navigate to the given URL.
- waitForURL(Pattern) - Method in interface com.microsoft.playwright.Page
-
Waits for the main frame to navigate to the given URL.
- waitForURL(Pattern, Frame.WaitForURLOptions) - Method in interface com.microsoft.playwright.Frame
-
Waits for the frame to navigate to the given URL.
- waitForURL(Pattern, Page.WaitForURLOptions) - Method in interface com.microsoft.playwright.Page
-
Waits for the main frame to navigate to the given URL.
- WaitForURLOptions() - Constructor for class com.microsoft.playwright.Frame.WaitForURLOptions
- WaitForURLOptions() - Constructor for class com.microsoft.playwright.Page.WaitForURLOptions
- waitForWebSocket(Page.WaitForWebSocketOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
WebSocket
. - waitForWebSocket(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
WebSocket
. - WaitForWebSocketOptions() - Constructor for class com.microsoft.playwright.Page.WaitForWebSocketOptions
- waitForWorker(Page.WaitForWorkerOptions, Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
Worker
. - waitForWorker(Runnable) - Method in interface com.microsoft.playwright.Page
-
Performs action and waits for a new
Worker
. - WaitForWorkerOptions() - Constructor for class com.microsoft.playwright.Page.WaitForWorkerOptions
- waitUntil - Variable in class com.microsoft.playwright.Frame.NavigateOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Frame.SetContentOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Frame.WaitForNavigationOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Frame.WaitForURLOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.GoBackOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.GoForwardOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.NavigateOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.ReloadOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.SetContentOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.WaitForNavigationOptions
-
When to consider operation succeeded, defaults to
load
. - waitUntil - Variable in class com.microsoft.playwright.Page.WaitForURLOptions
-
When to consider operation succeeded, defaults to
load
. - WaitUntilState - Enum in com.microsoft.playwright.options
- WebError - Interface in com.microsoft.playwright
-
WebError
class represents an unhandled exception thrown in the page. - webkit() - Method in interface com.microsoft.playwright.Playwright
-
This object can be used to launch or connect to WebKit, returning instances of
Browser
. - WebSocket - Interface in com.microsoft.playwright
-
The
WebSocket
class represents websocket connections in the page. - WebSocket.WaitForFrameReceivedOptions - Class in com.microsoft.playwright
- WebSocket.WaitForFrameSentOptions - Class in com.microsoft.playwright
- WebSocketFrame - Interface in com.microsoft.playwright
-
The
WebSocketFrame
class represents frames sent overWebSocket
connections in the page. - wheel(double, double) - Method in interface com.microsoft.playwright.Mouse
-
Dispatches a
wheel
event. - width - Variable in class com.microsoft.playwright.options.BoundingBox
-
the width of the element in pixels.
- width - Variable in class com.microsoft.playwright.options.Clip
-
width of clipping area
- width - Variable in class com.microsoft.playwright.options.RecordVideoSize
-
Video frame width.
- width - Variable in class com.microsoft.playwright.options.ScreenSize
-
page width in pixels.
- width - Variable in class com.microsoft.playwright.options.ViewportSize
-
page width in pixels.
- width - Variable in class com.microsoft.playwright.Page.PdfOptions
-
Paper width, accepts values labeled with units.
- Worker - Interface in com.microsoft.playwright
-
The Worker class represents a WebWorker.
- Worker.WaitForCloseOptions - Class in com.microsoft.playwright
- workers() - Method in interface com.microsoft.playwright.Page
-
This method returns all of the dedicated WebWorkers associated with the page.
- wsEndpoint - Variable in class com.microsoft.playwright.junit.Options
X
- x - Variable in class com.microsoft.playwright.options.BoundingBox
-
the x coordinate of the element in pixels.
- x - Variable in class com.microsoft.playwright.options.Clip
-
x-coordinate of top-left corner of clip area
- x - Variable in class com.microsoft.playwright.options.Position
Y
- y - Variable in class com.microsoft.playwright.options.BoundingBox
-
the y coordinate of the element in pixels.
- y - Variable in class com.microsoft.playwright.options.Clip
-
y-coordinate of top-left corner of clip area
- y - Variable in class com.microsoft.playwright.options.Position
All Classes All Packages