select YouTube iframe by looking for part of the video title in the

iframe title, instead of looking for the prefix "YouTube"
This commit is contained in:
Brent Baccala 2022-06-24 23:03:17 +00:00
parent ab4edea88f
commit 8af4f9ac2f

View File

@ -177,7 +177,8 @@ exports.videoPlayer = 'div[data-test="videoPlayer"]';
exports.presentationTitle = 'h1[data-test="presentationTitle"]';
// YouTube frame
exports.youtubeLink = 'https://www.youtube.com/watch?v=Hso8yLzkqj8&ab_channel=BigBlueButton';
exports.youtubeFrame = 'iframe[title^="YouTube"]';
// The title we match for here is the title of the test video specified by youtubeLink
exports.youtubeFrame = 'iframe[title~="GreenLight"]';
exports.ytFrameTitle = 'a[class^="ytp-title-link"]';
// Toasts
exports.statingUploadPresentationToast = 'To be uploaded ...';