Open github-actions[bot] opened 1 year ago
https://github.com/BrycensRanch/Chatting-Platform/blob/053782f4f24f872ba63b0676b0ad1a457f5eb95f/frontend/testPuppeteer.js#L17
const app = express(); const events = new EventEmitter(); app.get('/connect', async (req, res) => { events.emit('connect', req, res); }); events.on('connect', async (req, res) => { const { url, message, kick, waitAfterSendingMessage } = req.query; // TODO: Use getBrowser.js from https://github.com/BrycensRanch/Focus-SIS/blob/feat/classroom-integration/getBrowser.js const browser = await puppeteer.launch({ args: [ `--use-fake-device-for-media-stream`,
https://github.com/BrycensRanch/Chatting-Platform/blob/053782f4f24f872ba63b0676b0ad1a457f5eb95f/frontend/testPuppeteer.js#L17