The following code to resize a selenium chrome window does not work:
driver.set_window_size(1920, 1080) time.sleep(5) size = driver.get_window_size() print(\
Instead of
options.add_argument("--window-size=1920,1080")
Can you please try this.
options.add_argument('window-size=1920x1080');
OR
options.add_argument("--start-maximized")