If not, this method throws. Code Snippet For example, a different element could be matched when layout changes by one pixel. You would only need this option in the exceptional cases such as navigating to inaccessible pages. If the element is covered by other elements, it will not be actually visible on the screenshot. Playwright supports CSS and XPath selectors, and auto-detects them if you omit css= or xpath= prefix. Returns input.value for the selected or