liflab / cornipickle

Versatile web application testing tool
4 stars 3 forks source link

Add media queries to the language #25

Closed Faterou closed 7 years ago

Faterou commented 8 years ago

Originally reported by: Francis Guérin (Bitbucket: Faterou, GitHub: Faterou)


Currently it's possible to access some Media Query properties with the page and device properties in Cornipickle but many properties aren't accessible by Javascript. If we added a way to make media queries in the same way you can make css queries (css selector), we would be able to access every property with the matchMedia function in Javascript.


Faterou commented 8 years ago

Original comment by Francis Guérin (Bitbucket: Faterou, GitHub: Faterou):


Feature added with this commit