add try in executeScript. findElement should not log "Element not found after" when element is not found.