タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

webとjaavscriptに関するmizdraのブックマーク (1)

  • Locators | Playwright

    Introduction​ Locators are the central piece of Playwright's auto-waiting and retry-ability. In a nutshell, locators represent a way to find element(s) on the page at any moment. Quick Guide​ These are the recommended built in locators. page.getByRole() to locate by explicit and implicit accessibility attributes. page.getByText() to locate by text content. page.getByLabel() to locate a form contro

    Locators | Playwright
    mizdra
    mizdra 2022/09/19
    ElementHandle だと要素の探索は一回きりだけど、Locator は都度探索してくれるのか。欲しかったやつだ。
  • 1