Automation to verify CSS injected into DOM

Refactoring tests for browser compatibility.

@bug W-1849644@
@rev rjayaramappa@
Merging origin/tbliss/master-pending-css-styles-test-refactor into master