The upstream API,
method by method.
A declaration-level comparison of Playwright v1.63.0 with the PHP port. It shows which callable names exist, not whether their runtime behavior is identical.
- Playwright PHP
- v1.4.0
- Playwright
- v1.63.0
- PHP
- 8.2+
- Node.js
- 20+
- 94% of portable declarations represented
- 402 method names represented in PHP
- 26 not ported yet
- 39 classes scored, 8 excluded
- In the port
- A corresponding PHP declaration exists.
- Not ported
- Missing, and counted against the score.
- Not recommended
- Discouraged upstream, skipped on purpose, left out of the score.
- JS only
- No meaning outside Node, also out of the score.
APIRequest APIRequestInterface 1/1
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
newContext
|
method | v1.16 |
newContext() |
In the port |
APIRequestContext APIRequestContextInterface 10/10
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
delete
|
method | v1.16 |
delete() |
In the port |
dispose
|
method | v1.16 |
dispose() |
In the port |
fetch
|
method | v1.16 |
fetch() |
In the port |
get
|
method | v1.16 |
get() |
In the port |
head
|
method | v1.16 |
head() |
In the port |
patch
|
method | v1.16 |
patch() |
In the port |
post
|
method | v1.16 |
post() |
In the port |
put
|
method | v1.16 |
put() |
In the port |
storageState
|
method | v1.16 |
storageState() |
In the port |
tracing
|
property | v1.60 |
tracing() |
In the port |
APIResponse APIResponseInterface 9/9
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
body
|
method | v1.16 |
body() |
In the port |
dispose
|
method | v1.16 |
dispose() |
In the port |
headers
|
method | v1.16 |
headers() |
In the port |
headersArray
|
method | v1.16 |
headersArray() |
In the port |
json
|
method | v1.16 |
json() |
JS only |
ok
|
method | v1.16 |
ok() |
In the port |
status
|
method | v1.16 |
status() |
In the port |
statusText
|
method | v1.16 |
statusText() |
In the port |
text
|
method | v1.16 |
text() |
In the port |
url
|
method | v1.16 |
url() |
In the port |
APIResponseAssertions APIResponseAssertionsInterface 1/1
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
not
|
property | v1.20 |
not() |
JS only |
toBeOK
|
method | v1.18 |
toBeOK() |
In the port |
Browser BrowserInterface 9/10
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
browserType
|
method | v1.23 |
browserType() |
In the port |
close
|
method | v1.8 |
close() |
In the port |
contexts
|
method | v1.8 |
contexts() |
In the port |
isConnected
|
method | v1.8 |
isConnected() |
In the port |
newBrowserCDPSession
|
method | v1.11 | - | Not ported |
newContext
|
method | v1.8 |
newContext() |
In the port |
newPage
|
method | v1.8 |
newPage() |
In the port |
bind
|
method | v1.59 |
bind() |
In the port |
removeAllListeners
|
method | v1.47 | - | JS only |
startTracing
|
method | v1.11 | - | JS only |
stopTracing
|
method | v1.11 | - | JS only |
unbind
|
method | v1.59 |
unbind() |
In the port |
version
|
method | v1.8 |
version() |
In the port |
BrowserContext BrowserContextInterface 27/32
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
clock
|
property | v1.45 |
clock() |
In the port |
credentials
|
property | v1.61 |
credentials() |
In the port |
debugger
|
property | v1.59 | - | Not ported |
addCookies
|
method | v1.8 |
addCookies() |
In the port |
addInitScript
|
method | v1.8 |
addInitScript() |
In the port |
backgroundPages
deprecated |
method | v1.11 | - | Not ported |
browser
|
method | v1.8 |
browser() |
In the port |
clearCookies
|
method | v1.8 |
clearCookies() |
In the port |
clearPermissions
|
method | v1.8 |
clearPermissions() |
In the port |
close
|
method | v1.8 |
close() |
In the port |
cookies
|
method | v1.8 |
cookies() |
In the port |
exposeBinding
|
method | v1.8 |
exposeBinding() |
In the port |
exposeFunction
|
method | v1.8 |
exposeFunction() |
In the port |
grantPermissions
|
method | v1.8 |
grantPermissions() |
In the port |
isClosed
|
method | v1.59 |
isClosed() |
In the port |
newCDPSession
|
method | v1.11 | - | Not ported |
newPage
|
method | v1.8 |
newPage() |
In the port |
pages
|
method | v1.8 |
pages() |
In the port |
removeAllListeners
|
method | v1.47 | - | JS only |
request
|
property | v1.16 |
request() |
In the port |
route
|
method | v1.8 |
route() |
In the port |
routeFromHAR
|
method | v1.23 | - | Not ported |
routeWebSocket
|
method | v1.48 | - | Not ported |
serviceWorkers
|
method | v1.11 | - | JS only |
setDefaultNavigationTimeout
|
method | v1.8 |
setDefaultNavigationTimeout() |
In the port |
setDefaultTimeout
|
method | v1.8 |
setDefaultTimeout() |
In the port |
setExtraHTTPHeaders
|
method | v1.8 |
setExtraHTTPHeaders() |
In the port |
setGeolocation
|
method | v1.8 |
setGeolocation() |
In the port |
setHTTPCredentials
|
method | v1.8 | - | JS only |
setOffline
|
method | v1.8 |
setOffline() |
In the port |
storageState
|
method | v1.8 |
storageState() |
In the port |
setStorageState
|
method | v1.59 |
setStorageState() |
In the port |
tracing
|
property | v1.12 |
tracing() |
In the port |
unrouteAll
|
method | v1.41 |
unrouteAll() |
In the port |
unroute
|
method | v1.8 |
unroute() |
In the port |
waitForEvent
|
method | v1.8 |
waitForEvent() |
JS only |
BrowserType BrowserType 6/6
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
connect
|
method | v1.8 |
connect() |
In the port |
connectOverCDP
|
method | v1.9 |
connectOverCDP() |
In the port |
executablePath
|
method | v1.8 |
executablePath() |
In the port |
launch
|
method | v1.8 |
launch() |
In the port |
launchPersistentContext
|
method | v1.8 |
launchPersistentContext() |
In the port |
launchServer
|
method | v1.8 |
launchServer() |
JS only |
name
|
method | v1.8 |
name() |
In the port |
CDPSession CDPSessionInterface 2/2
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
detach
|
method | v1.8 |
detach() |
In the port |
send
|
method | v1.8 |
send() |
In the port |
Clock ClockInterface 7/7
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
fastForward
|
method | v1.45 |
fastForward() |
In the port |
install
|
method | v1.45 |
install() |
In the port |
runFor
|
method | v1.45 |
runFor() |
In the port |
pauseAt
|
method | v1.45 |
pauseAt() |
In the port |
resume
|
method | v1.45 |
resume() |
In the port |
setFixedTime
|
method | v1.45 |
setFixedTime() |
In the port |
setSystemTime
|
method | v1.45 |
setSystemTime() |
In the port |
ConsoleMessage ConsoleMessage 4/5
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
args
|
method | v1.8 |
args() |
In the port |
location
|
method | v1.8 |
location() |
JS only |
page
|
method | v1.34 |
page() |
In the port |
text
|
method | v1.8 |
text() |
In the port |
timestamp
|
method | v1.59 |
timestamp() |
In the port |
type
|
method | v1.8 |
type() |
JS only |
worker
|
method | v1.57 | - | Not ported |
Credentials CredentialsInterface 4/4
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
install
|
method | v1.61 |
install() |
In the port |
create
|
method | v1.61 |
create() |
In the port |
delete
|
method | v1.61 |
delete() |
In the port |
get
|
method | v1.61 |
get() |
In the port |
Debugger 0/5
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
pausedDetails
|
method | v1.59 | - | Not ported |
requestPause
|
method | v1.59 | - | Not ported |
resume
|
method | v1.59 | - | Not ported |
next
|
method | v1.59 | - | Not ported |
runTo
|
method | v1.59 | - | Not ported |
Dialog DialogInterface 6/6
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
accept
|
method | v1.8 |
accept() |
In the port |
defaultValue
|
method | v1.8 |
defaultValue() |
In the port |
dismiss
|
method | v1.8 |
dismiss() |
In the port |
message
|
method | v1.8 |
message() |
In the port |
page
|
method | v1.34 |
page() |
In the port |
type
|
method | v1.8 |
type() |
In the port |
Download DownloadInterface 8/8
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
cancel
|
method | v1.13 |
cancel() |
In the port |
createReadStream
|
method | v1.8 |
createReadStream() |
JS only |
delete
|
method | v1.8 |
delete() |
In the port |
failure
|
method | v1.8 |
failure() |
In the port |
page
|
method | v1.12 |
page() |
In the port |
path
|
method | v1.8 |
path() |
In the port |
saveAs
|
method | v1.8 |
saveAs() |
In the port |
suggestedFilename
|
method | v1.8 |
suggestedFilename() |
In the port |
url
|
method | v1.8 |
url() |
In the port |
FileChooser FileChooserInterface 4/4
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
element
|
method | v1.8 |
element() |
In the port |
isMultiple
|
method | v1.8 |
isMultiple() |
In the port |
page
|
method | v1.8 |
page() |
In the port |
setFiles
|
method | v1.8 |
setFiles() |
In the port |
Frame FrameInterface 29/31
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
addScriptTag
|
method | v1.8 |
addScriptTag() |
In the port |
addStyleTag
|
method | v1.8 |
addStyleTag() |
In the port |
check
|
method | v1.8 | - | Not recommended |
childFrames
|
method | v1.8 |
childFrames() |
In the port |
click
|
method | v1.8 | - | Not recommended |
content
|
method | v1.8 |
content() |
In the port |
dblclick
|
method | v1.8 | - | Not recommended |
dispatchEvent
|
method | v1.8 | - | Not recommended |
dragAndDrop
|
method | v1.13 |
dragAndDrop() |
In the port |
evalOnSelector
|
method | v1.9 | - | Not recommended |
evalOnSelectorAll
|
method | v1.9 | - | Not recommended |
evaluate
|
method | v1.8 |
evaluate() |
In the port |
evaluateHandle
|
method | v1.8 |
evaluateHandle() |
In the port |
fill
|
method | v1.8 | - | Not recommended |
focus
|
method | v1.8 | - | Not recommended |
frameElement
|
method | v1.8 |
frameElement() |
In the port |
frameLocator
|
method | v1.17 |
frameLocator() |
In the port |
getAttribute
|
method | v1.8 | - | Not recommended |
getByAltText
|
method | v1.27 |
getByAltText() |
In the port |
getByLabel
|
method | v1.27 |
getByLabel() |
In the port |
getByPlaceholder
|
method | v1.27 |
getByPlaceholder() |
In the port |
getByRole
|
method | v1.27 |
getByRole() |
In the port |
getByTestId
|
method | v1.27 |
getByTestId() |
In the port |
getByText
|
method | v1.27 |
getByText() |
In the port |
getByTitle
|
method | v1.27 |
getByTitle() |
In the port |
goto
|
method | v1.8 |
goto() |
In the port |
hover
|
method | v1.8 | - | Not recommended |
innerHTML
|
method | v1.8 | - | Not recommended |
innerText
|
method | v1.8 | - | Not recommended |
inputValue
|
method | v1.13 | - | Not recommended |
isChecked
|
method | v1.8 | - | Not recommended |
isDetached
|
method | v1.8 |
isDetached() |
In the port |
isDisabled
|
method | v1.8 | - | Not recommended |
isEditable
|
method | v1.8 | - | Not recommended |
isEnabled
|
method | v1.8 | - | Not ported |
isHidden
|
method | v1.8 | - | Not recommended |
isVisible
|
method | v1.8 | - | Not recommended |
locator
|
method | v1.14 |
locator() |
In the port |
name
|
method | v1.8 |
name() |
In the port |
page
|
method | v1.8 |
page() |
In the port |
parentFrame
|
method | v1.8 |
parentFrame() |
In the port |
press
|
method | v1.8 | - | Not recommended |
querySelector
|
method | v1.9 | - | Not recommended |
querySelectorAll
|
method | v1.9 | - | Not recommended |
selectOption
|
method | v1.8 | - | Not recommended |
setChecked
|
method | v1.15 | - | Not recommended |
setContent
|
method | v1.8 |
setContent() |
In the port |
setInputFiles
|
method | v1.8 | - | Not recommended |
tap
|
method | v1.8 | - | Not recommended |
textContent
|
method | v1.8 | - | Not recommended |
title
|
method | v1.8 |
title() |
In the port |
type
deprecated |
method | v1.8 | - | Not ported |
uncheck
|
method | v1.8 | - | Not recommended |
url
|
method | v1.8 |
url() |
In the port |
waitForFunction
|
method | v1.8 |
waitForFunction() |
In the port |
waitForLoadState
|
method | v1.8 |
waitForLoadState() |
In the port |
waitForNavigation
deprecated |
method | v1.8 |
waitForNavigation() |
In the port |
waitForSelector
|
method | v1.8 | - | Not recommended |
waitForTimeout
|
method | v1.8 | - | Not recommended |
waitForURL
|
method | v1.11 |
waitForURL() |
In the port |
FrameLocator FrameLocatorInterface 13/13
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
first
deprecated |
method | v1.17 |
first() |
In the port |
frameLocator
|
method | v1.17 |
frameLocator() |
In the port |
getByAltText
|
method | v1.27 |
getByAltText() |
In the port |
getByLabel
|
method | v1.27 |
getByLabel() |
In the port |
getByPlaceholder
|
method | v1.27 |
getByPlaceholder() |
In the port |
getByRole
|
method | v1.27 |
getByRole() |
In the port |
getByTestId
|
method | v1.27 |
getByTestId() |
In the port |
getByText
|
method | v1.27 |
getByText() |
In the port |
getByTitle
|
method | v1.27 |
getByTitle() |
In the port |
last
deprecated |
method | v1.17 |
last() |
In the port |
locator
|
method | v1.17 |
locator() |
In the port |
nth
deprecated |
method | v1.17 |
nth() |
In the port |
owner
|
method | v1.43 |
owner() |
In the port |
JSHandle JSHandleInterface 7/7
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
asElement
|
method | v1.8 |
asElement() |
In the port |
dispose
|
method | v1.8 |
dispose() |
In the port |
evaluate
|
method | v1.8 |
evaluate() |
In the port |
evaluateHandle
|
method | v1.8 |
evaluateHandle() |
In the port |
getProperties
|
method | v1.8 |
getProperties() |
In the port |
getProperty
|
method | v1.8 |
getProperty() |
In the port |
jsonValue
|
method | v1.8 |
jsonValue() |
In the port |
Keyboard KeyboardInterface 5/5
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
down
|
method | v1.8 |
down() |
In the port |
insertText
|
method | v1.8 |
insertText() |
In the port |
press
|
method | v1.8 |
press() |
In the port |
type
|
method | v1.8 |
type() |
In the port |
up
|
method | v1.8 |
up() |
In the port |
Locator LocatorInterface 65/66
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
all
|
method | v1.29 |
all() |
In the port |
allInnerTexts
|
method | v1.14 |
allInnerTexts() |
In the port |
allTextContents
|
method | v1.14 |
allTextContents() |
In the port |
and
|
method | v1.34 |
and() |
In the port |
ariaSnapshot
|
method | v1.49 |
ariaSnapshot() |
In the port |
ariaSnapshotJSON
|
method | v1.63 | - | JS only |
blur
|
method | v1.28 |
blur() |
In the port |
boundingBox
|
method | v1.14 |
boundingBox() |
In the port |
check
|
method | v1.14 |
check() |
In the port |
clear
|
method | v1.28 |
clear() |
In the port |
click
|
method | v1.14 |
click() |
In the port |
count
|
method | v1.14 |
count() |
In the port |
dblclick
|
method | v1.14 |
dblclick() |
In the port |
describe
|
method | v1.53 |
describe() |
In the port |
description
|
method | v1.57 | - | JS only |
dispatchEvent
|
method | v1.14 |
dispatchEvent() |
In the port |
dragTo
|
method | v1.18 |
dragTo() |
In the port |
drop
|
method | v1.60 |
drop() |
In the port |
elementHandle
|
method | v1.14 | - | Not recommended |
elementHandles
|
method | v1.14 | - | Not recommended |
contentFrame
|
method | v1.43 |
contentFrame() |
In the port |
evaluate
|
method | v1.14 |
evaluate() |
In the port |
evaluateAll
|
method | v1.14 |
evaluateAll() |
In the port |
evaluateHandle
|
method | v1.14 |
evaluateHandle() |
In the port |
fill
|
method | v1.14 |
fill() |
In the port |
filter
|
method | v1.22 |
filter() |
In the port |
first
|
method | v1.14 |
first() |
In the port |
focus
|
method | v1.14 |
focus() |
In the port |
frameLocator
|
method | v1.17 |
frameLocator() |
In the port |
getAttribute
|
method | v1.14 |
getAttribute() |
In the port |
getByAltText
|
method | v1.27 |
getByAltText() |
In the port |
getByLabel
|
method | v1.27 |
getByLabel() |
In the port |
getByPlaceholder
|
method | v1.27 |
getByPlaceholder() |
In the port |
getByRole
|
method | v1.27 |
getByRole() |
In the port |
getByTestId
|
method | v1.27 |
getByTestId() |
In the port |
getByText
|
method | v1.27 |
getByText() |
In the port |
getByTitle
|
method | v1.27 |
getByTitle() |
In the port |
hideHighlight
|
method | v1.60 |
hideHighlight() |
In the port |
highlight
|
method | v1.20 |
highlight() |
In the port |
hover
|
method | v1.14 |
hover() |
In the port |
innerHTML
|
method | v1.14 |
innerHTML() |
In the port |
innerText
|
method | v1.14 |
innerText() |
In the port |
inputValue
|
method | v1.14 |
inputValue() |
In the port |
isChecked
|
method | v1.14 |
isChecked() |
In the port |
isDisabled
|
method | v1.14 |
isDisabled() |
In the port |
isEditable
|
method | v1.14 |
isEditable() |
In the port |
isEnabled
|
method | v1.14 |
isEnabled() |
In the port |
isHidden
|
method | v1.14 |
isHidden() |
In the port |
isVisible
|
method | v1.14 |
isVisible() |
In the port |
last
|
method | v1.14 |
last() |
In the port |
locator
|
method | v1.14 |
locator() |
In the port |
normalize
|
method | v1.59 |
normalize() |
In the port |
nth
|
method | v1.14 |
nth() |
In the port |
or
|
method | v1.33 |
or() |
In the port |
page
|
method | v1.19 |
page() |
In the port |
press
|
method | v1.14 |
press() |
In the port |
pressSequentially
|
method | v1.38 |
pressSequentially() |
In the port |
screenshot
|
method | v1.14 |
screenshot() |
In the port |
scrollIntoViewIfNeeded
|
method | v1.14 |
scrollIntoViewIfNeeded() |
In the port |
selectOption
|
method | v1.14 |
selectOption() |
In the port |
selectText
|
method | v1.14 |
selectText() |
In the port |
setChecked
|
method | v1.15 |
setChecked() |
In the port |
setInputFiles
|
method | v1.14 |
setInputFiles() |
In the port |
tap
|
method | v1.14 |
tap() |
In the port |
textContent
|
method | v1.14 |
textContent() |
In the port |
toString
|
method | v1.57 | - | JS only |
type
deprecated |
method | v1.14 |
type() |
In the port |
uncheck
|
method | v1.14 |
uncheck() |
In the port |
visible
|
method | v1.63 | - | Not ported |
waitFor
|
method | v1.16 |
waitFor() |
In the port |
waitForFunction
|
method | v1.62 |
waitForFunction() |
In the port |
LocatorAssertions LocatorAssertionsInterface 26/26
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
not
|
property | v1.20 |
not() |
JS only |
toBeAttached
|
method | v1.33 |
toBeAttached() |
In the port |
toBeChecked
|
method | v1.20 |
toBeChecked() |
In the port |
toBeDisabled
|
method | v1.20 |
toBeDisabled() |
In the port |
toBeEditable
|
method | v1.20 |
toBeEditable() |
In the port |
toBeEmpty
|
method | v1.20 |
toBeEmpty() |
In the port |
toBeEnabled
|
method | v1.20 |
toBeEnabled() |
In the port |
toBeFocused
|
method | v1.20 |
toBeFocused() |
In the port |
toBeHidden
|
method | v1.20 |
toBeHidden() |
In the port |
toBeInViewport
|
method | v1.31 |
toBeInViewport() |
In the port |
toBeVisible
|
method | v1.20 |
toBeVisible() |
In the port |
toContainClass
|
method | v1.52 |
toContainClass() |
In the port |
toContainText
|
method | v1.20 |
toContainText() |
In the port |
toHaveAccessibleDescription
|
method | v1.44 |
toHaveAccessibleDescription() |
In the port |
toHaveAccessibleErrorMessage
|
method | v1.50 |
toHaveAccessibleErrorMessage() |
In the port |
toHaveAccessibleName
|
method | v1.44 |
toHaveAccessibleName() |
In the port |
toHaveAttribute
|
method | v1.20 |
toHaveAttribute() |
In the port |
toHaveAttribute#2
|
method | v1.39 | - | JS only |
toHaveClass
|
method | v1.20 |
toHaveClass() |
In the port |
toHaveCount
|
method | v1.20 |
toHaveCount() |
In the port |
toHaveCSS
|
method | v1.20 |
toHaveCSS() |
In the port |
toHaveId
|
method | v1.20 |
toHaveId() |
In the port |
toHaveJSProperty
|
method | v1.20 |
toHaveJSProperty() |
In the port |
toHaveRole
|
method | v1.44 |
toHaveRole() |
In the port |
toHaveScreenshot#1
|
method | v1.23 | - | JS only |
toHaveScreenshot#2
|
method | v1.23 | - | JS only |
toHaveText
|
method | v1.20 |
toHaveText() |
In the port |
toHaveValue
|
method | v1.20 |
toHaveValue() |
In the port |
toHaveValues
|
method | v1.23 |
toHaveValues() |
In the port |
toMatchAriaSnapshot
|
method | v1.49 |
toMatchAriaSnapshot() |
In the port |
toMatchAriaSnapshot#2
|
method | v1.50 | - | JS only |
Mouse MouseInterface 6/6
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
click
|
method | v1.8 |
click() |
In the port |
dblclick
|
method | v1.8 |
dblclick() |
In the port |
down
|
method | v1.8 |
down() |
In the port |
move
|
method | v1.8 |
move() |
In the port |
up
|
method | v1.8 |
up() |
In the port |
wheel
|
method | v1.15 |
wheel() |
In the port |
Page PageInterface 65/75
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
clock
|
property | v1.45 |
clock() |
In the port |
addInitScript
|
method | v1.8 |
addInitScript() |
In the port |
addScriptTag
|
method | v1.8 |
addScriptTag() |
In the port |
addStyleTag
|
method | v1.8 |
addStyleTag() |
In the port |
bringToFront
|
method | v1.8 |
bringToFront() |
In the port |
cancelPickLocator
|
method | v1.59 | - | Not ported |
check
|
method | v1.8 | - | Not recommended |
click
|
method | v1.8 |
click() |
Not recommended |
close
|
method | v1.8 |
close() |
In the port |
content
|
method | v1.8 |
content() |
In the port |
context
|
method | v1.8 |
context() |
In the port |
coverage
|
property | v1.8 | - | JS only |
dblclick
|
method | v1.8 | - | Not recommended |
dispatchEvent
|
method | v1.8 | - | Not recommended |
dragAndDrop
|
method | v1.13 |
dragAndDrop() |
In the port |
emulateMedia
|
method | v1.8 |
emulateMedia() |
In the port |
evalOnSelector
|
method | v1.9 | - | Not recommended |
evalOnSelectorAll
|
method | v1.9 | - | Not recommended |
evaluate
|
method | v1.8 |
evaluate() |
In the port |
evaluateHandle
|
method | v1.8 |
evaluateHandle() |
In the port |
exposeBinding
|
method | v1.8 | - | Not ported |
exposeFunction
|
method | v1.8 | - | Not ported |
fill
|
method | v1.8 | - | Not recommended |
focus
|
method | v1.8 | - | Not recommended |
frame
|
method | v1.8 |
frame() |
In the port |
frameLocator
|
method | v1.17 |
frameLocator() |
In the port |
frames
|
method | v1.8 |
frames() |
In the port |
getAttribute
|
method | v1.8 | - | Not recommended |
getByAltText
|
method | v1.27 |
getByAltText() |
In the port |
getByLabel
|
method | v1.27 |
getByLabel() |
In the port |
getByPlaceholder
|
method | v1.27 |
getByPlaceholder() |
In the port |
getByRole
|
method | v1.27 |
getByRole() |
In the port |
getByTestId
|
method | v1.27 |
getByTestId() |
In the port |
getByText
|
method | v1.27 |
getByText() |
In the port |
getByTitle
|
method | v1.27 |
getByTitle() |
In the port |
goBack
|
method | v1.8 |
goBack() |
In the port |
goForward
|
method | v1.8 |
goForward() |
In the port |
requestGC
|
method | v1.48 |
requestGC() |
In the port |
goto
|
method | v1.8 |
goto() |
In the port |
hideHighlight
|
method | v1.60 |
hideHighlight() |
In the port |
hover
|
method | v1.8 | - | Not recommended |
innerHTML
|
method | v1.8 | - | Not recommended |
innerText
|
method | v1.8 | - | Not recommended |
inputValue
|
method | v1.13 | - | Not recommended |
isChecked
|
method | v1.8 | - | Not recommended |
isClosed
|
method | v1.8 |
isClosed() |
In the port |
isDisabled
|
method | v1.8 | - | Not recommended |
isEditable
|
method | v1.8 | - | Not recommended |
isEnabled
|
method | v1.8 | - | Not recommended |
isHidden
|
method | v1.8 | - | Not recommended |
isVisible
|
method | v1.8 | - | Not recommended |
keyboard
|
property | v1.8 |
keyboard() |
In the port |
clearConsoleMessages
|
method | v1.59 |
clearConsoleMessages() |
In the port |
clearPageErrors
|
method | v1.59 |
clearPageErrors() |
In the port |
localStorage
|
property | v1.61 |
localStorage() |
In the port |
sessionStorage
|
property | v1.61 |
sessionStorage() |
In the port |
consoleMessages
|
method | v1.56 |
consoleMessages() |
In the port |
pageErrors
|
method | v1.56 | - | JS only |
locator
|
method | v1.14 |
locator() |
In the port |
mainFrame
|
method | v1.8 |
mainFrame() |
In the port |
mouse
|
property | v1.8 |
mouse() |
In the port |
opener
|
method | v1.8 |
opener() |
In the port |
pause
|
method | v1.9 |
pause() |
In the port |
pdf
|
method | v1.8 |
pdf() |
In the port |
pickLocator
|
method | v1.59 | - | Not ported |
press
|
method | v1.8 | - | Not recommended |
querySelector
|
method | v1.9 | - | Not recommended |
querySelectorAll
|
method | v1.9 | - | Not recommended |
requests
|
method | v1.56 |
requests() |
In the port |
addLocatorHandler
|
method | v1.42 | - | Not ported |
removeAllListeners
|
method | v1.47 | - | JS only |
removeLocatorHandler
|
method | v1.44 | - | Not ported |
reload
|
method | v1.8 |
reload() |
In the port |
request
|
property | v1.16 |
request() |
In the port |
route
|
method | v1.8 |
route() |
In the port |
routeFromHAR
|
method | v1.23 | - | Not ported |
routeWebSocket
|
method | v1.48 | - | Not ported |
screencast
|
property | v1.59 |
screencast() |
In the port |
screenshot
|
method | v1.8 |
screenshot() |
In the port |
selectOption
|
method | v1.8 | - | Not recommended |
setChecked
|
method | v1.15 | - | Not recommended |
setContent
|
method | v1.8 |
setContent() |
In the port |
setDefaultNavigationTimeout
|
method | v1.8 |
setDefaultNavigationTimeout() |
In the port |
setDefaultTimeout
|
method | v1.8 |
setDefaultTimeout() |
In the port |
setExtraHTTPHeaders
|
method | v1.8 |
setExtraHTTPHeaders() |
In the port |
setInputFiles
|
method | v1.8 |
setInputFiles() |
Not recommended |
setViewportSize
|
method | v1.8 |
setViewportSize() |
In the port |
ariaSnapshot
|
method | v1.59 |
ariaSnapshot() |
In the port |
ariaSnapshotJSON
|
method | v1.63 | - | JS only |
tap
|
method | v1.8 | - | Not recommended |
textContent
|
method | v1.8 | - | Not recommended |
title
|
method | v1.8 |
title() |
In the port |
touchscreen
|
property | v1.8 |
touchscreen() |
In the port |
type
deprecated |
method | v1.8 |
type() |
In the port |
uncheck
|
method | v1.8 | - | Not recommended |
unrouteAll
|
method | v1.41 |
unrouteAll() |
In the port |
unroute
|
method | v1.8 |
unroute() |
In the port |
url
|
method | v1.8 |
url() |
In the port |
video
|
method | v1.8 |
video() |
In the port |
viewportSize
|
method | v1.8 |
viewportSize() |
In the port |
waitForEvent
|
method | v1.8 | - | JS only |
waitForFunction
|
method | v1.8 |
waitForFunction() |
In the port |
waitForLoadState
|
method | v1.8 |
waitForLoadState() |
In the port |
waitForNavigation
deprecated |
method | v1.8 | - | Not ported |
waitForRequest
|
method | v1.8 |
waitForRequest() |
In the port |
waitForResponse
|
method | v1.8 |
waitForResponse() |
In the port |
waitForSelector
|
method | v1.8 |
waitForSelector() |
Not recommended |
waitForTimeout
|
method | v1.8 | - | Not recommended |
waitForURL
|
method | v1.11 |
waitForURL() |
In the port |
workers
|
method | v1.8 | - | Not ported |
PageAssertions PageAssertionsInterface 3/3
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
not
|
property | v1.20 |
not() |
JS only |
toMatchAriaSnapshot
|
method | v1.60 |
toMatchAriaSnapshot() |
In the port |
toMatchAriaSnapshot#2
|
method | v1.60 | - | JS only |
toHaveScreenshot#1
|
method | v1.23 | - | JS only |
toHaveScreenshot#2
|
method | v1.23 | - | JS only |
toHaveTitle
|
method | v1.20 |
toHaveTitle() |
In the port |
toHaveURL
|
method | v1.20 |
toHaveURL() |
In the port |
Playwright Playwright 4/5
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
chromium
|
property | v1.8 |
chromium() |
In the port |
devices
|
property | v1.8 | - | JS only |
errors
|
property | v1.8 | - | JS only |
firefox
|
property | v1.8 |
firefox() |
In the port |
request
|
property | v1.16 | - | Not ported |
selectors
|
property | v1.8 |
selectors() |
In the port |
webkit
|
property | v1.8 |
webkit() |
In the port |
Request RequestInterface 17/17
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
allHeaders
|
method | v1.15 |
allHeaders() |
In the port |
failure
|
method | v1.8 |
failure() |
In the port |
frame
|
method | v1.8 |
frame() |
In the port |
headers
|
method | v1.8 |
headers() |
In the port |
headersArray
|
method | v1.15 |
headersArray() |
In the port |
headerValue
|
method | v1.15 |
headerValue() |
In the port |
isNavigationRequest
|
method | v1.8 |
isNavigationRequest() |
In the port |
method
|
method | v1.8 |
method() |
In the port |
postData
|
method | v1.8 |
postData() |
In the port |
postDataBuffer
|
method | v1.8 |
postDataBuffer() |
In the port |
postDataJSON
|
method | v1.8 |
postDataJSON() |
JS only |
redirectedFrom
|
method | v1.8 |
redirectedFrom() |
In the port |
redirectedTo
|
method | v1.8 |
redirectedTo() |
In the port |
resourceType
|
method | v1.8 |
resourceType() |
In the port |
response
|
method | v1.8 |
response() |
In the port |
existingResponse
|
method | v1.59 |
existingResponse() |
In the port |
serviceWorker
|
method | v1.24 |
serviceWorker() |
JS only |
sizes
|
method | v1.15 |
sizes() |
In the port |
url
|
method | v1.8 |
url() |
In the port |
Response ResponseInterface 16/16
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
allHeaders
|
method | v1.15 |
allHeaders() |
In the port |
body
|
method | v1.8 |
body() |
In the port |
finished
|
method | v1.8 |
finished() |
In the port |
frame
|
method | v1.8 |
frame() |
In the port |
fromServiceWorker
|
method | v1.23 |
fromServiceWorker() |
In the port |
headers
|
method | v1.8 |
headers() |
In the port |
headersArray
|
method | v1.15 |
headersArray() |
In the port |
headerValue
|
method | v1.15 |
headerValue() |
In the port |
headerValues
|
method | v1.15 |
headerValues() |
In the port |
httpVersion
|
method | v1.59 |
httpVersion() |
In the port |
json
|
method | v1.8 |
json() |
JS only |
ok
|
method | v1.8 |
ok() |
In the port |
request
|
method | v1.8 |
request() |
In the port |
status
|
method | v1.8 |
status() |
In the port |
statusText
|
method | v1.8 |
statusText() |
In the port |
text
|
method | v1.8 |
text() |
In the port |
url
|
method | v1.8 |
url() |
In the port |
Route RouteInterface 6/6
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
abort
|
method | v1.8 |
abort() |
In the port |
continue
|
method | v1.8 |
continue() |
In the port |
fallback
|
method | v1.23 |
fallback() |
In the port |
fetch
|
method | v1.29 |
fetch() |
In the port |
fulfill
|
method | v1.8 |
fulfill() |
In the port |
request
|
method | v1.8 |
request() |
In the port |
Screencast ScreencastInterface 8/8
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
start
|
method | v1.59 |
start() |
In the port |
stop
|
method | v1.59 |
stop() |
In the port |
showOverlay
|
method | v1.59 |
showOverlay() |
In the port |
showChapter
|
method | v1.59 |
showChapter() |
In the port |
showActions
|
method | v1.59 |
showActions() |
In the port |
showOverlays
|
method | v1.59 |
showOverlays() |
In the port |
hideActions
|
method | v1.59 |
hideActions() |
In the port |
hideOverlays
|
method | v1.59 |
hideOverlays() |
In the port |
Selectors SelectorsInterface 2/2
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
register
|
method | v1.8 |
register() |
In the port |
setTestIdAttribute
|
method | v1.27 |
setTestIdAttribute() |
In the port |
TimeoutError TimeoutException ported
Touchscreen TouchscreenInterface 1/1
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
tap
|
method | v1.8 |
tap() |
In the port |
Tracing TracingInterface 8/8
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
start
|
method | v1.12 |
start() |
In the port |
startChunk
|
method | v1.15 |
startChunk() |
In the port |
startHar
|
method | v1.60 |
startHar() |
In the port |
group
|
method | v1.49 |
group() |
In the port |
groupEnd
|
method | v1.49 |
groupEnd() |
In the port |
stop
|
method | v1.12 |
stop() |
In the port |
stopChunk
|
method | v1.15 |
stopChunk() |
In the port |
stopHar
|
method | v1.60 |
stopHar() |
In the port |
Video VideoInterface 3/3
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
delete
|
method | v1.11 |
delete() |
In the port |
path
|
method | v1.8 |
path() |
In the port |
saveAs
|
method | v1.11 |
saveAs() |
In the port |
WebError WebErrorInterface 3/3
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
page
|
method | v1.38 |
page() |
In the port |
error
|
method | v1.38 |
error() |
In the port |
location
|
method | v1.60 |
location() |
In the port |
WebSocket WebSocketInterface 2/2
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
isClosed
|
method | v1.8 |
isClosed() |
In the port |
url
|
method | v1.8 |
url() |
In the port |
waitForEvent
|
method | v1.8 |
waitForEvent() |
JS only |
WebSocketRoute WebSocketRouteInterface 7/7
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
close
|
method | v1.48 |
close() |
In the port |
connectToServer
|
method | v1.48 |
connectToServer() |
In the port |
onClose
|
method | v1.48 |
onClose() |
In the port |
onMessage
|
method | v1.48 |
onMessage() |
In the port |
send
|
method | v1.48 |
send() |
In the port |
protocols
|
method | v1.60 |
protocols() |
In the port |
url
|
method | v1.48 |
url() |
In the port |
WebStorage WebStorageInterface 5/5
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
items
|
method | v1.61 |
items() |
In the port |
getItem
|
method | v1.61 |
getItem() |
In the port |
setItem
|
method | v1.61 |
setItem() |
In the port |
removeItem
|
method | v1.61 |
removeItem() |
In the port |
clear
|
method | v1.61 |
clear() |
In the port |
Worker WorkerInterface 3/3
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
evaluate
|
method | v1.8 |
evaluate() |
In the port |
evaluateHandle
|
method | v1.8 |
evaluateHandle() |
In the port |
url
|
method | v1.8 |
url() |
In the port |
waitForEvent
|
method | v1.57 |
waitForEvent() |
JS only |
ElementHandle discouraged upstream, skipped on purpose
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
boundingBox
|
method | v1.8 | - | Not recommended |
check
|
method | v1.8 | - | Not recommended |
click
|
method | v1.8 | - | Not recommended |
contentFrame
|
method | v1.8 | - | Not recommended |
dblclick
|
method | v1.8 | - | Not recommended |
dispatchEvent
|
method | v1.8 | - | Not recommended |
evalOnSelector
|
method | v1.9 | - | Not recommended |
evalOnSelectorAll
|
method | v1.9 | - | Not recommended |
fill
|
method | v1.8 | - | Not recommended |
focus
|
method | v1.8 | - | Not recommended |
getAttribute
|
method | v1.8 | - | Not recommended |
hover
|
method | v1.8 | - | Not recommended |
innerHTML
|
method | v1.8 | - | Not recommended |
innerText
|
method | v1.8 | - | Not recommended |
inputValue
|
method | v1.13 | - | Not recommended |
isChecked
|
method | v1.8 | - | Not recommended |
isDisabled
|
method | v1.8 | - | Not recommended |
isEditable
|
method | v1.8 | - | Not recommended |
isEnabled
|
method | v1.8 | - | Not recommended |
isHidden
|
method | v1.8 | - | Not recommended |
isVisible
|
method | v1.8 | - | Not recommended |
ownerFrame
|
method | v1.8 | - | Not recommended |
press
|
method | v1.8 | - | Not recommended |
querySelector
|
method | v1.9 | - | Not recommended |
querySelectorAll
|
method | v1.9 | - | Not recommended |
screenshot
|
method | v1.8 | - | Not recommended |
scrollIntoViewIfNeeded
|
method | v1.8 | - | Not recommended |
selectOption
|
method | v1.8 | - | Not recommended |
selectText
|
method | v1.8 | - | Not recommended |
setChecked
|
method | v1.15 | - | Not recommended |
setInputFiles
|
method | v1.8 | - | Not recommended |
tap
|
method | v1.8 | - | Not recommended |
textContent
|
method | v1.8 | - | Not recommended |
type
deprecated |
method | v1.8 | - | Not recommended |
uncheck
|
method | v1.8 | - | Not recommended |
waitForElementState
|
method | v1.8 | - | Not recommended |
waitForSelector
|
method | v1.8 | - | Not recommended |
BrowserServer BrowserServerInterface JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
close
|
method | v1.8 |
close() |
JS only |
kill
|
method | v1.8 |
kill() |
JS only |
process
|
method | v1.8 |
process() |
JS only |
wsEndpoint
|
method | v1.8 |
wsEndpoint() |
JS only |
Coverage JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
startCSSCoverage
|
method | v1.11 | - | JS only |
startJSCoverage
|
method | v1.11 | - | JS only |
stopCSSCoverage
|
method | v1.11 | - | JS only |
stopJSCoverage
|
method | v1.11 | - | JS only |
Disposable JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
dispose
|
method | v1.59 | - | JS only |
GenericAssertions GenericAssertionsInterface JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
not
|
property | v1.9 |
not() |
JS only |
resolves
|
property | v1.9 | - | JS only |
rejects
|
property | v1.9 | - | JS only |
toBe
|
method | v1.9 | - | JS only |
toBeCloseTo
|
method | v1.9 | - | JS only |
toBeDefined
|
method | v1.9 | - | JS only |
toBeFalsy
|
method | v1.9 |
toBeFalsy() |
JS only |
toBeGreaterThan
|
method | v1.9 |
toBeGreaterThan() |
JS only |
toBeGreaterThanOrEqual
|
method | v1.9 | - | JS only |
toBeInstanceOf
|
method | v1.9 | - | JS only |
toBeLessThan
|
method | v1.9 | - | JS only |
toBeLessThanOrEqual
|
method | v1.9 | - | JS only |
toBeNaN
|
method | v1.9 | - | JS only |
toBeNull
|
method | v1.9 | - | JS only |
toBeTruthy
|
method | v1.9 |
toBeTruthy() |
JS only |
toBeUndefined
|
method | v1.9 | - | JS only |
toContain#1
|
method | v1.9 | - | JS only |
toContain#2
|
method | v1.9 | - | JS only |
toContainEqual
|
method | v1.9 | - | JS only |
toEqual
|
method | v1.9 |
toEqual() |
JS only |
toHaveLength
|
method | v1.9 | - | JS only |
toHaveProperty
|
method | v1.9 | - | JS only |
toMatch
|
method | v1.9 | - | JS only |
toMatchObject
|
method | v1.9 | - | JS only |
toStrictEqual
|
method | v1.9 | - | JS only |
toThrow
|
method | v1.9 | - | JS only |
toThrowError
|
method | v1.9 | - | JS only |
any
|
method | v1.9 | - | JS only |
anything
|
method | v1.9 | - | JS only |
arrayContaining
|
method | v1.9 | - | JS only |
arrayOf
|
method | v1.57 | - | JS only |
closeTo
|
method | v1.9 | - | JS only |
objectContaining
|
method | v1.9 | - | JS only |
stringContaining
|
method | v1.9 | - | JS only |
stringMatching
|
method | v1.9 | - | JS only |
Logger JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
isEnabled
|
method | v1.8 | - | JS only |
log
|
method | v1.8 | - | JS only |
PlaywrightAssertions Expect JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
expectAPIResponse
|
method | v1.18 | - | JS only |
expectGeneric
|
method | v1.9 | - | JS only |
expectLocator
|
method | v1.18 | - | JS only |
expectPage
|
method | v1.18 | - | JS only |
SnapshotAssertions JS only, not scored
| Upstream method | Kind | Since | PlaywrightPHP | Status |
|---|---|---|---|---|
toMatchSnapshot#1
|
method | v1.22 | - | JS only |
toMatchSnapshot#2
|
method | v1.22 | - | JS only |
Compared against microsoft/playwright v1.63.0 (docs/src/api) on 2026-09-08. Android, Electron, events, language-specific members, and discouraged APIs are excluded or shown outside the score. Matching here proves that a callable surface exists, not that its runtime behavior is identical. The PHP surface comes from the generated API reference.