![]() ![]() ![]() Working Code: const browser = await puppeteer. Thanks in advance for any help const puppeteer = require('puppeteer') ĮxecutablePath: '/Applications/Google Chrome.app/',Īrgs: Īwait page.screenshot() Īfter Following the Eric Comment and jegadesh answer below, I changed the code like below and Now it is working except one small issue: window is opening in correct size but content in that window are constrained to some other size, see the screenshot below I tried with the following script, not able to run.Ģ.Is there any way to open the chrome window with particular window size here I am not talking about viewport, I tried with args "-app-shell-host-window-size=1600x1239" - not working.Ĭould anyone help me on the above two issues. Now you can launch Chrome from your Applications folder or directly from your Dock. Drag the Chrome icon into the Applications folder. Here’s how to install Chrome on Mac: Double-click the googlechrome dotdmg file in your Downloads folder. ![]() 1.How can I run the Puppeteer script on the already installed chrome in mac machine. Move the icon into your Applications folder and Chrome will start installing. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |