I have tried various techniques to assert that an element is not present in Selenium javascript But to no avail, I cant assert of the findElements.length function is the closest