I want to maximize the window and zoom out to 0.8.
Here is the code:
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
profile = webdriver.FirefoxProfile()
options = webdriver.FirefoxOptions()
options.add_argument('--start-maximized') # not working
driver = webdriver.Firefox(firefox_profile=profile, options=options, executable_path=r"W:\geckodriver.exe")
driver.execute_script('document.body.style.MozTransform = "scale(0.8)";') # not working
The window is not getting maximized nor zoomed out.