dimanche 19 janvier 2020

Why I am getting error 'screenshot failed, retrying timeout: Timed out receiving message from renderer: 10.000' in selenium?

getting timeout exception 'org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 10.000, screenshot failed, retrying timeout: Timed out receiving message from renderer: 10.000' on taking screenshot in headless mode chrome.

NOTE: screenshot working in normal chrome.

chrome browser version: 79.0.3945.117 the chrome driver version used: 79.0.3945.36 chrome options:

    options.addArguments("--headless");
    options.addArguments("--no-sandbox");       
    options.addArguments("--no-gui");
    options.addArguments("--window-size=1980,960");

Aucun commentaire:

Enregistrer un commentaire