I'm writing a selenium test that clicks on a specific button on a page. There are no other buttons present on the page but it seems like it's been obstructed so the codes unable to find it.
- I've tried to maximum the page in the hope it can find the button but it's unable to do so
My code
driver.maximize_window()
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//input[@id='save' and @name='save'][@value='View Report']"))).click()
copy of the element
<input type="submit" value="View Report" id="save" name="save" data-reportid="108">
Error
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (1750, 770). Other element would receive the click: ... (Session info: chrome=83.0.4103.116)