I have a github action workflow to run webdriver ui tests. I am making use of ubuntu runner. But my test cases are not executed properly. Getting broken UI issue -
Error: Can't call scrollIntoView on element with selector
but this element selector is properly located. It is working fine, when I execute this localy on windows machine. It is getting overlapped.
I tried executing the test with --no-sandbox flag with the Chrome command to bypass the X display requirement. Also I tried, Using Xvfb (X virtual framebuffer). But still there is no resolution