Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ first
Method
first
playwright/_impl/_locator.py:332–333 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
330
331
@property
332
def
first(self) ->
"Locator"
:
333
return
Locator(self._frame, f
"{self._selector} >> nth=0"
)
334
335
@property
336
def
last(self) ->
"Locator"
:
Callers
nothing calls this directly
Calls
1
Locator
Class · 0.70
Tested by
no test coverage detected