bigbluebutton-Github/bigbluebutton-tests/puppeteer/stress/util.js

6 lines
180 B
JavaScript
Raw Normal View History

2021-08-10 04:36:16 +08:00
function checkIncludeClass(selector, className) {
return document.querySelectorAll(selector)[0]?.className.includes(className);
}
exports.checkIncludeClass = checkIncludeClass;