playwright selector resolved to hidden

I found a workaround for that (#5850) so it should not block us. 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). I am not sure if the above is failing either due to: The text was updated successfully, but these errors were encountered: Note: I want to actually copy the entire as seen in the picture above with all its elements and children (including shadow-root) in the picture above but have not found an easy way. In the example below, handle points to a particular DOM element on page. If no elements match the selector, returns empty array. Use the locator.filter() to locate a specific item in a list. Returns input.value for the selected or