I have the below code I've inspected from Chrome. and I am trying to click this object. Ideally leveraging xpath or css selector.
I copied Xpath as below mentioned
/html/body/form/table[4]/tbody/tr/td[1]/table/tbody/tr[3]/td
This is the full path
<td style="text-decoration: none; color: rgb(0, 0, 0); font-family: Arial; font-size: 11px; padding-bottom: 2px; padding-top: 1px; border-bottom: 1px solid rgb(194, 194, 194); background: rgb(255, 255, 255); cursor: auto;" onmouseover="this.style.background='#BED9F5'; this.style.cursor='hand'; showTitle(this,'Review Quotes / Quote To Order',150,true); window.status='Review Quotes / Quote To Order'; return true;" onmouseout="this.style.background='#FFFFFF'; this.style.cursor='auto'; hideTitle(); window.status=' '; return true;" onclick="if (warnUnfinishedPage()) return false; changePage('pc.quote.html.QuoteSummarySection','refresh'); return false;" align="left" width="110" valign="middle" title="Review Quotes / Quote To Order">
Quotes
</td>
Katalon Recorder exported Python as the below few options, but none seem to be working for me. They all come back as no such element. I think it may have something to do with the parentheses?
driver.find_element_by_xpath("//td[@onclick=\"if (warnUnfinishedPage()) return false; changePage('pc.quote.html.QuoteSummarySection','refresh'); return false;\"]").click()
driver.find_element_by_xpath("//tr[3]/td").click()
driver.find_element_by_css_selector("td[title=\"Review Quotes / Quote To Order\"]").click()
Any advice on something else I can try would be much appreciated!