rimgu/tests/find_video_for_cMeqLga.js

13 lines
379 B
JavaScript

// Script is executed by selenium because the css selector is bugged in helium/selenium
// Check for the meme video's element presence then write to page so helium
// knows it is there
let vid = document.querySelectorAll('source[src="/InQKYvf.mp4"]')
if (vid.length){
let p = document.createElement("p")
p.innerText = "video exists"
document.body.appendChild(p)
}