Answer the question
In order to leave comments, you need to log in
How to zoom out in geckodriver selenium python?
The task is as follows: to reduce the scale in the geckodriver only with the help of selenium. I especially want to point out that using javascript to change the scale of the site is not a solution, you just need to change the scale of the browser itself.
Of the methods used, which naturally did not work for some incomprehensible reason (perhaps due to curvature):
1) driver.find_element_by_tag_name("body").send_keys(Keys.CONTROL + "-")
2) Actions(driver).keyDown(Keys.CONTROL ).sendKeys("-").keyUp(Keys.CONTROL).perform();
Help who fumbles
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question