I am using selenium with python and I try to click on element below. But every time shows the error (in starting was working) only getting error on this line and have tried CSS selector id and all.
<span class="avatar" ng-click="showBlock($event);">
<img src="assets/images/user.png" alt="user image">
</span>
selenium code ::
wait.until(EC.presence_of_element_located((By.XPATH,'//img[@alt="user image"]'))).click()
ERROR::
self._execute(Command.CLICK_ELEMENT)
return self._parent.execute(command, params)
self.error_handler.check_response(response)
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Element <img src="assets/images/user.png" alt="user image"> is not clickable at point (1333, 34). Other element would receive the click: <div id="page_preloader" style="display: block;">...</div>
(Session info: chrome=81.0.4044.122)