playwright selector resolved to hidden

Is there any chance we could have a shared session where I show you the problem we are facing? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. If not specified, currently pressed modifiers are used. Optional argument to pass to pageFunction. Already on GitHub? await page.locator('css=button').click(); You can click on the image after locating it by the text alternative: Use this locator when your element supports alt text such as img and area elements. Optional. By clicking Sign up for GitHub, you agree to our terms of service and Making statements based on opinion; back them up with references or personal experience. To make tests resilient, we recommend prioritizing user-facing attributes and explicit contracts such as page.getByRole(). It expects first argument to point to an input element with the type "file". But in the comment above you linked to http://crbug.com/1188919 and that seems to have no relation to the PR and chromium bug above. A point to use relative to the top-left corner of element padding box. I suggest you review the following documentation to get a better handle on the general Testing Library philosophy and how it is intended to be used to help you test your application more closely to how your users interact with it: In this case, ideally, you'd instead be querying for the native checkbox control using an accessible label, like so: Once you're reviewed that, if you're still having this kind of problem, it's really an issue with how you're using Playwright, and it has nothing to do with Playwright Testing Library. If some of the filePaths are relative paths, then they are resolved relative to the current working directory. 'hidden' - wait for element to be either detached from DOM, or have an empty bounding box or visibility:hidden. Text selector locates elements that contain passed text. If no elements match the selector, returns null. For example, css=article >> text=Hello captures the element with the text Hello, and *css=article >> text=Hello (note the *) captures the article element that contains some element with the text Hello. You can always ignore this by saying await locator.dispatchEvent('click'), but I would explore what's happening with the page and why the element that you can see is considered invisible. // Clicks a