You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use Gemini via ChromeDriver for mobile emulation testing
I want to get full page screenshot
My current settings are the following:
browsers:
mobile-320:
desiredCapabilities:
browserName: chromechromeOptions:
mobileEmulation:
userAgent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4'deviceMetrics:
width: 320height: 6000pixelRatio: 1
This variant doesn't fail, though makes screenshots not 6000px high, but my available screen area high
I tried adding screenshotMode: fullpage, which doesn't have any effect.
Combining screenshotMode: fullpage with height: 568 (instead of 6000) leads to out of bounds exception.
Any idea how to make this work (and make fullscreen mobile screenshot)?
Trying to use Gemini via ChromeDriver for mobile emulation testing
I want to get full page screenshot
My current settings are the following:
This variant doesn't fail, though makes screenshots not 6000px high, but my available screen area high
I tried adding
screenshotMode: fullpage, which doesn't have any effect.Combining
screenshotMode: fullpagewithheight: 568(instead of 6000) leads toout of boundsexception.Any idea how to make this work (and make fullscreen mobile screenshot)?