bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/webcam/check.js
2020-06-24 16:51:20 -03:00

16 lines
338 B
JavaScript

const Share = require('./share');
const util = require('./util');
class Check extends Share {
constructor() {
super('webcam-check-content-test');
}
async test() {
await util.enableWebcam(this);
const respUser = await util.webcamContentCheck(this);
return respUser === true;
}
}
module.exports = exports = Check;