I'm trying to click this button, but the button is actually an image which doesn't have an ID. I've tried using the Xpath by doing
WebDriverWait(driver, 10).until(
EC.presence_of_element_located((By.XPATH, "/html/body/table/tbody/tr[1]/td/a"))
).click()
but this wasn't able to find the element. Any help would be great! Here's the relevant HTML
<a class="navcontent" href=f5-h-$$/MSL/jsp/openGimPage.jsp?gimEnv=GIM&ep=GIMV" target="blank>
<img onclick="F5_r2u();F5_Event_common(event);try{return(eval(F5_Invoke_eval_event(null,F5_jsBody(function(){parent.trackUserActivity(this,'o','Portlet : Incident Management '+(this.src).split('/images/')[1].split('.')[0]);
<p id="text" style="top: 7px">View</p></a>
Edit: Here is the remainder of the HTML Remainder of HTML