at backyard

Color my life with the chaos of trouble.

Entries from 2022-10-04 to 1 day

Playwright for Goで指定した場所にスクロールさせる方法

昨日に引き続き、Playwright for Goに関する個人的な備忘録。 Playwright for Goで指定した場所にスクロールさせる方法だが、playwright.Locator に ScrollIntoViewIfNeeded というメソッドが用意されているのでこれを利用する。 実際のサンプルを下に記載し…