rimgu/tests/find_video_for_cMeqLga.js

13 lines
379 B
JavaScript
Raw Normal View History

2021-10-13 23:54:16 +00:00
// 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)
}