{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1922","repository_url":"https://api.github.com/repos/GoogleChrome/puppeteer","labels_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1922/comments","events_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1922/events","html_url":"https://github.com/GoogleChrome/puppeteer/issues/1922","id":292783676,"number":1922,"title":"Page throws timeout exception only in headless mode","user":{"login":"marijanlekic","id":22616118,"avatar_url":"https://avatars1.githubusercontent.com/u/22616118?v=4","gravatar_id":"","url":"https://api.github.com/users/marijanlekic","html_url":"https://github.com/marijanlekic","followers_url":"https://api.github.com/users/marijanlekic/followers","following_url":"https://api.github.com/users/marijanlekic/following{/other_user}","gists_url":"https://api.github.com/users/marijanlekic/gists{/gist_id}","starred_url":"https://api.github.com/users/marijanlekic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijanlekic/subscriptions","organizations_url":"https://api.github.com/users/marijanlekic/orgs","repos_url":"https://api.github.com/users/marijanlekic/repos","events_url":"https://api.github.com/users/marijanlekic/events{/privacy}","received_events_url":"https://api.github.com/users/marijanlekic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-30T13:32:19Z","updated_at":"2018-02-02T21:11:18Z","closed_at":null,"author_association":"NONE","body":"**Tell us about your environment:**\r\n\r\n* Puppeteer version: puppeteer@next (latest commit)\r\n* Platform / OS version: macOS High Sierra 10.13.1\r\n* URLs (if applicable): http://www.sanident.it\r\n* Node.js version: v8.6.0\r\n\r\n**What steps will reproduce the problem?**\r\n```\r\n  const browser = await puppeteer.launch({\r\n    headless: true,\r\n  });\r\n\r\n  const page = await browser.newPage();\r\n  await page.goto(\"http://www.sanident.it\", {timeout: 10000});\r\n  console.log(await page.content());\r\n```\r\n\r\n**What is the expected result?**\r\n\r\nPromise does not throw \"Navigation Timeout Exceeded\" no matter if using headless or non-headless mode.\r\n\r\n**What happens instead?**\r\n\r\nPromise throws \"Navigation Timeout Exceeded\" ONLY in headless mode. In non-headless it works fine. This does not work also in v0.13.0 **BUT IT WORKS** in v0.12.0\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/comments/362708703","html_url":"https://github.com/GoogleChrome/puppeteer/issues/1922#issuecomment-362708703","issue_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1922","id":362708703,"user":{"login":"ebidel","id":238208,"avatar_url":"https://avatars2.githubusercontent.com/u/238208?v=4","gravatar_id":"","url":"https://api.github.com/users/ebidel","html_url":"https://github.com/ebidel","followers_url":"https://api.github.com/users/ebidel/followers","following_url":"https://api.github.com/users/ebidel/following{/other_user}","gists_url":"https://api.github.com/users/ebidel/gists{/gist_id}","starred_url":"https://api.github.com/users/ebidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebidel/subscriptions","organizations_url":"https://api.github.com/users/ebidel/orgs","repos_url":"https://api.github.com/users/ebidel/repos","events_url":"https://api.github.com/users/ebidel/events{/privacy}","received_events_url":"https://api.github.com/users/ebidel/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T21:11:18Z","updated_at":"2018-02-02T21:11:18Z","author_association":"OWNER","body":"I can confirm that this timeouts in headless and not headful mode. Perhaps the site does some kind of headless/automation sniffing and something is blocking the page from finishing?"}}
{"actor":{"display_login":"ebidel"}}