thanks for your comment! but yeah, i already tested that, the element is appearing first and then the code is running, the appropriate IDs are also there, i even added a pause before the code runs and still is not working