Works great for me:
Array.prototype.diff = function(a) { return this.filter(function(i) {return a.indexOf(i) < 0;}); }; const dif = [[TABLE1]].diff([[TABLE2]]); [[DIF]] = (dif);i wanna a while loop if element didnt exists keep repeating until it's exsists
-
- Start While Loop: Begin a constant loop.
- Check for Element: Inside the loop, search for the specific element on the page.
- Not Found?:
- If the element is not present, pause for a brief period using a Sleep function.
- After sleeping, continue with the next iteration of the loop.
- Found: If the element is found, exit the loop.
-
i also want same thing ...