simonaferrara
5 years agoFrequent Contributor
Change browser size basing on a component size
Hi all,
I would like to change the browser size by specifying a specific dimension for a component within the Page (and automatically adapt the browser size to display the component in the specified resolution), instead that specify the width or height of the entire browser window (with the "Position" method).
For example: my page displays a component, and I want to force to display this component with a resolution of 920*680. It is not relevant the browser dimensions, but the thing that is important is to have the component displayed with the required dimension.
The final scope will be to do an image comparison with a benchmark image saved with this resolution.
There is a way to do this?
Thanks!
Simona