getByText() to locate by text content. page. ... Playwright supports CSS and XPath selectors, and auto-detects them if you omit css= or xpath= prefix.
確定! 回上一頁