The content displayed on the actual screen is what is assembled in the browser after JavaScript is executed. Selenium operates on this "post-assembly" DOM. Therefore, you must always check the actual ...