In that instance should it not wait for hidden as an attribute and not hidden=""? Selectors will be prefixed with "tag=". You can specify option value, or label to select. If not, this method throws. It's usually better to follow the best practices and find a more reliable way to uniquely identify the element. This method can be used with input[type=checkbox], input[type=radio] and [role=checkbox] elements. to your account. Playwright says that this element is hidden: @stefanteixeira the element you are trying to select is not visible on the page, it is inside a hidden div so playwright keeps waiting until it shows up: Thanks for the follow-up, @yury-s! Not applicable to png images. You can also pass a regular expression. Playwright cheat sheet. I am trying to click a button by using force : true to bypass the visibility check (because I don't understand why the button is hidden during this test - it can be seen by the user when run headful). Locators are strict. However, if the element is inside the