I'm testing a web application. This web application should never have a horizontal scrollbar (as it resizes automatically). I want to test whether or not the horizontal bar exists (it should not).
Is this possible to do with JavaScript or even Selenium?