79520537

Date: 2025-03-19 14:53:52
Score: 2
Natty:
Report link
all_links = await page.locator("locator copied from html").all()
for link in all_links:
    text = await link.inner_text()
    print(text)

Using "selector" not "xPath"

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stanislav