Closed ogonkov closed 2 weeks ago
I've tried to click on Switch in Playwright via selector
Switch
getByRole('switcher', {name: 'Some switcher name'})
But Playwright is unable to do it, because of a error
<span class="g-switch__slider"></span> intercepts pointer events
Looks like this element is laying over original input, and this cause error.
@ogonkov Yes, indeed we have complex layout for this control. For such case you can force playwright to click
I've tried to click on
Switch
in Playwright via selectorBut Playwright is unable to do it, because of a error
Looks like this element is laying over original input, and this cause error.