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)';")
Baca Juga
- Selenium.common.exceptions.nosuchelementexception: Message: Web Element Reference Not Seen Before Using Geckodriver Firefox And Selenium With Python
- How To Minimize Or Hide The Geckodriver In Selenium?
- How To Quit All The Firefox Processes Which Gets Initiated Through Geckodriver And Selenium Using Python
Post a Comment for "How To Zoom In Firefox-geckodriver By Selenium?"