Whatsapp-web.js: Insert topic "Send video" in the documentation

Created on 27 Feb 2020  路  2Comments  路  Source: pedroslopez/whatsapp-web.js

The feature is available, but not found nothing informations about it!

docs stale

Most helpful comment

Yeah, there will be a section for this in the guide.

For now though, sending video is supported but you will need to run with Google Chrome instead of the default Chromium. To do this, just set the executablePath option for puppeteer to point to your chrome installation.

const client = new Client({
    puppeteer: {
        executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
    }
});

Note that this is the executablePath if you鈥檙e on Mac and have installed chrome in the default location, but it鈥檚 different for other OSes and install locations.

All 2 comments

Yeah, there will be a section for this in the guide.

For now though, sending video is supported but you will need to run with Google Chrome instead of the default Chromium. To do this, just set the executablePath option for puppeteer to point to your chrome installation.

const client = new Client({
    puppeteer: {
        executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
    }
});

Note that this is the executablePath if you鈥檙e on Mac and have installed chrome in the default location, but it鈥檚 different for other OSes and install locations.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ocracy picture ocracy  路  5Comments

riagie picture riagie  路  6Comments

gabriel-tandil picture gabriel-tandil  路  5Comments

parthibd picture parthibd  路  4Comments

dedenhendrap picture dedenhendrap  路  8Comments