class: playwright
[25:14] (extern: com.lehman.aussom.AussomPlaywright) extends: object
The playwright class is the root entry point for the Playwright browser automation library. Create a new instance to get access to browser type launchers (chromium, firefox, webkit).
Methods
-
playwright ()
Constructs a new playwright instance and initializes the Playwright driver process.
-
newPlaywright ()
-
close ()
Closes the Playwright instance and terminates the driver process. All browsers created by this instance will be closed.
- @r
Thisobject.
- @r
-
chromium ()
Returns the Chromium browser type which can be used to launch or connect to a Chromium browser instance.
- @r
Abrowsertype object for Chromium.
- @r
-
firefox ()
Returns the Firefox browser type which can be used to launch or connect to a Firefox browser instance.
- @r
Abrowsertype object for Firefox.
- @r
-
webkit ()
Returns the WebKit browser type which can be used to launch or connect to a WebKit browser instance.
- @r
Abrowsertype object for WebKit.
- @r