{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2558","repository_url":"https://api.github.com/repos/GoogleChrome/puppeteer","labels_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2558/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2558/comments","events_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2558/events","html_url":"https://github.com/GoogleChrome/puppeteer/issues/2558","id":323761397,"number":2558,"title":"wrong viewport in headful mode by default","user":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars1.githubusercontent.com/u/827205?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-16T19:48:22Z","updated_at":"2018-05-17T00:14:39Z","closed_at":"2018-05-17T00:14:39Z","author_association":"NONE","body":"<!--\r\nSTEP 1: Are you in the right place?\r\n\r\n- For general technical questions or \"how to\" guidance, please search StackOverflow for questions tagged \"puppeteer\" or create a new post.\r\n\r\nhttps://stackoverflow.com/questions/tagged/puppeteer\r\n\r\n- For issues or feature requests related to the DevTools Protocol (https://chromedevtools.github.io/devtools-protocol/), file an issue there:\r\n\r\nhttps://github.com/ChromeDevTools/devtools-protocol/issues/new.\r\n\r\n- Problem in Headless Chrome? File an issue against Chromium's issue tracker:\r\n\r\nhttps://bugs.chromium.org/p/chromium/issues/entry?components=Internals%3EHeadless&blocking=705916\r\n\r\nFor issues, feature requests, or setup troubles with Puppeteer, file an issue right here!\r\n-->\r\n\r\n### Steps to reproduce\r\n\r\n**Tell us about your environment:**\r\n\r\n* Puppeteer version: 1.4.0\r\n* Platform / OS version: Windows 10\r\n* URLs (if applicable): \r\n* Node.js version: 10\r\n\r\n**What steps will reproduce the problem?**\r\n\r\n_Please include code that reproduces the issue._\r\n```\r\nconst browser = await puppeteer.launch({headless: false});\r\n  const page = await browser.newPage();\r\n  await page.goto('https://www.ssllabs.com/ssltest/');\r\n  await page.type('.submitBox input[type=\"text\"][name=\"d\"]', 'https://google.com', {delay: 100});\r\n  await page.click('#hideResults')\r\n  await page.click('.submitBox input[type=\"submit\"]');\r\n```\r\n1. run the code\r\n2. check the size of the viewport and browser window\r\n\r\n**What is the expected result?**\r\nThe viewport should be as big as the browser window by default.\r\n\r\n**What happens instead?**\r\nThe viewport is somehow smaller and there are two white areas and scrollbars.\r\nSee the screenshot.\r\n![image](https://user-images.githubusercontent.com/827205/40140192-8b5a799c-5952-11e8-865d-d0a59a23550d.png)\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/comments/389704765","html_url":"https://github.com/GoogleChrome/puppeteer/issues/2558#issuecomment-389704765","issue_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2558","id":389704765,"user":{"login":"aslushnikov","id":746130,"avatar_url":"https://avatars3.githubusercontent.com/u/746130?v=4","gravatar_id":"","url":"https://api.github.com/users/aslushnikov","html_url":"https://github.com/aslushnikov","followers_url":"https://api.github.com/users/aslushnikov/followers","following_url":"https://api.github.com/users/aslushnikov/following{/other_user}","gists_url":"https://api.github.com/users/aslushnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/aslushnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslushnikov/subscriptions","organizations_url":"https://api.github.com/users/aslushnikov/orgs","repos_url":"https://api.github.com/users/aslushnikov/repos","events_url":"https://api.github.com/users/aslushnikov/events{/privacy}","received_events_url":"https://api.github.com/users/aslushnikov/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T00:14:39Z","updated_at":"2018-05-17T00:14:39Z","author_association":"CONTRIBUTOR","body":"Dupe of #1183.\r\n\r\nThere's a workaround posted in the issue; we're blocked on upstream fixes to do this the right way (see https://github.com/GoogleChrome/puppeteer/pull/2364)."}}
{"actor":{"display_login":"aslushnikov"}}