Skip to content Skip to sidebar Skip to footer

How To Zoom In Firefox-geckodriver By Selenium?

Tried using Python Option with document.body.style.zoom= '150%', not suitable. And with document.body.style.zoom= '1.5' also doesn't work.

Solution 1:

I'm sorry I almost immediately found a solution after the post of the question)

webdriver.execute_script("document.body.style.MozTransform='scale(1)';")

Post a Comment for "How To Zoom In Firefox-geckodriver By Selenium?"