@dejavuakku maybe the element is already there but the JavaScript is not finished loading?
@borkdude The element was an Iframe so I had to switch to the iframe.