Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97810

How to run all scripts in specific zoom size in chrome selenium?

$
0
0

The website isn't look same on mac and windows. So i'm looking for the capabilities/options for the chrome which set certain zoom size and all scripts get executed in same size.

I'm aware of Firefox but not found for chrome

FirefoxProfile profile = new FirefoxProfile();
profile.setPreference("layout.css.devPixelsPerPx", "0.9");

Viewing all articles
Browse latest Browse all 97810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>