jeudi 29 octobre 2015

Force @media print for automated test

From bootstrap, I am using hidden-print to hide certain things when printed. I want to write an automated test to verify this. I don't know how to force the browser so that @media print media queries will fire.

Currently we are using protractor for this kind of testing, but if anyone can provide any solution with another tool, that would be a great starting point.

Aucun commentaire:

Enregistrer un commentaire