Section5. 필수 API
locator란?
html element 찾는 문법
주로 assertion과 action과 같이 쓰임
Playwright 가이드 문서 확인
https://playwright.dev/docs/locators
Locators | Playwright
Introduction
playwright.dev
- 많은 로케이터 존재
- getby 라벨 : input 가져올 때 사용
정확하게 일치하는 것을 찾기 위해서 exact true 넣으면 됨~!
'인프런 강의 노트' 카테고리의 다른 글
[인프런] Playwright 기초 - Actions & 내장 이벤트 (0) | 2025.03.31 |
---|---|
[인프런] Playwright 기초 - 필수 API (0) | 2025.03.31 |
[인프런] Playwright 기초 - 기초적인 활용법과 핵심 원리 (0) | 2025.03.31 |
[인프런] Playwright 기초 - 기초적인 활용법과 핵심 원리 (0) | 2025.03.31 |
[인프런] Playwright 기초 - 제출 양식 테스트 작성하기 (0) | 2025.03.31 |