DEV Community

Discussion on: Selenium 4 and chrome driver, take full page screenshots

Collapse
 
shakedbogin profile image
Shaked Bogin

This code didn't work for me...
But eventually this helped:
driver.execute_script("document.body.style.zoom='80%'")