MCPcopy Index your code
hub / github.com/microsoft/playwright-python / description

Method description

playwright/_impl/_locator.py:353–364  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

351
352 @property
353 def description(self) -> Optional[str]:
354 try:
355 match = re.search(
356 r' >> internal:describe=("(?:[^"\\]|\\.)*")$', self._selector
357 )
358 if match:
359 description = json.loads(match.group(1))
360 if isinstance(description, str):
361 return description
362 except (json.JSONDecodeError, ValueError):
363 pass
364 return None
365
366 def filter(
367 self,

Callers

nothing calls this directly

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected