Skip to main content
10 events
when toggle format what by license comment
Oct 3, 2019 at 12:39 answer added undetected Selenium timeline score: 1
Oct 3, 2019 at 12:37 history edited undetected Selenium CC BY-SA 4.0
edited tags, indented error stack trace
Oct 3, 2019 at 10:47 history edited Shubham Jain CC BY-SA 4.0
added 1 character in body
Oct 3, 2019 at 9:34 comment added TomChenSama @Yun ` chrome_options=Options() chrome_options.add_experimental_option('excludeSwitches',['enable-automation']) chrome_options.add_argument("--log-level=3") prefs = {"profile.managed_default_content_settings.images": 2} chrome_options.add_experimental_option("prefs", prefs) chrome_options.add_argument('--headless') browser = webdriver.Chrome(chrome_options=chrome_options) browser.set_window_size(1920,1080) ` `` these are my settings, and i find "browser.maximize_window()" don't work in headless mode, so I use the "set_window_size(1920,1080)".
Oct 3, 2019 at 9:22 comment added Yun I want to know your browser settings. Try to add this: browser.maximize_window()
S Oct 3, 2019 at 9:04 history suggested Corsaka
added tags
Oct 3, 2019 at 8:53 comment added Richard K Yu What's the task you're automating? Maybe it got stuck in a loop in certain cases? Or, maybe the connection to the site the for which you're automating the task times out after a while? It's hard to know without more context I think.
Oct 3, 2019 at 8:50 review First posts
Oct 3, 2019 at 8:51
Oct 3, 2019 at 8:49 review Suggested edits
S Oct 3, 2019 at 9:04
Oct 3, 2019 at 8:47 history asked TomChenSama CC BY-SA 4.0