Closed YusukeIwaki closed 1 year ago
resolves #298
Puppeteer.launch do |browser| page = browser.new_page page.viewport = Puppeteer::Viewport.new(width: 1280, height: 800) page.goto('https://github.com/YusukeIwaki') page.screenshot(path: 'YusukeIwaki.png', full_page: false) end
outputs the image below
resolves #298
outputs the image below