getByLabel(role, options)label 태그 또는, aria-labelledby 이거나, aria-label 값을 찾을 때await page.getByRole('button', { name: 'Submit' })locator(selector) 일반적인 CSS 선택자, #id 이거나 .class로 선택await page.locator('#id');await page.locator('.class');Xpath 상대 또는 절대 경로를 선택await page.locator('//*[@attribute="value"]'); getByText(text, options) 단순히 innerText 로 있는 text로 찾을 때 사용await page.getByText('Welcome, John!') g..