Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ all
Method
all
playwright/_impl/_locator.py:415–421 ·
view source on GitHub ↗
( self, )
Source
from the content-addressed store, hash-verified
413
)
414
415
async
def
all(
416
self,
417
) -> List[
"Locator"
]:
418
result = []
419
for
index in range(await self.count()):
420
result.append(self.nth(index))
421
return
result
422
423
async
def
count(
424
self,
Callers
2
test_locator_all_should_work
Function · 0.45
test_locator_all_should_work
Function · 0.45
Calls
3
count
Method · 0.95
nth
Method · 0.95
append
Method · 0.80
Tested by
2
test_locator_all_should_work
Function · 0.36
test_locator_all_should_work
Function · 0.36