title: Clicking a link using Selenium Python Library
body: <p>How could I click the link highlighted in the attached image using python selenium library, i have tried everything (most attempts shown below), but all not working.</p>
  
  <p>note in the attached picture the element tree.</p>
  
  <p><a href="https://i.stack.imgur.com/hHsLD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hHsLD.png" alt="enter image description here"></a></p>
  
  <p>Page code (link in question is the last link in the code below:</p>
  
  <pre><code>&lt;HEAD&gt;
  &lt;TITLE&gt; Constructor Self Service&lt;/TITLE&gt;
  &lt;/HEAD&gt;
  
  
  &lt;script type="text/javascript"&gt;
  ......
  &lt;/script&gt;
  
  &lt;link rel="stylesheet"
   href="/global/res/themes/corporate/css/style3.css"
   type="text/css"&gt;
  &lt;script type="text/javascript"
   src="/global/res/javascript/horizontal_subsection_HM_Loader.js"&gt;&lt;/script&gt;
  
  &lt;link rel=stylesheet href="css/tcss.css" TYPE="text/css"&gt;
  &lt;script type="text/javascript" src="arrays/aaclib.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="arrays/csslib.js"&gt;&lt;/script&gt;
  
  
  
  
  &lt;table cellspacing=0 cellpadding=0 border=0 width="100%" height="100%" &gt;
  &lt;tr&gt;&lt;td valign="top"&gt;
  &lt;form name="mainForm" action="/TCSSPRODapp/Controller"
   method="POST" onsubmit="return false;"&gt;
  &lt;input type="hidden" name="command"&gt;
  &lt;input type="hidden" name="page"&gt;
  &lt;input type="hidden" name="menuIndex"&gt;
  &lt;input type="hidden" name="submitted" value="false"&gt;
  &lt;input type="hidden" name="pageToken"
   value=679&gt;
  &lt;input type="hidden" name="isInternal"
   value=false&gt;
  
  
  
  &lt;body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0"
   marginheight="0"&gt;
  &lt;!--begin global header--&gt;&lt;!--Don't place any other HTML code on this line!!--&gt;
  &lt;script language="javascript" src="/global/javascript/head_array.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
  var v6=0;
  if(typeof hmVisi!="undefined"&amp;&amp;typeof sectionId!="undefined" )v6=1;
  if(v6)document.write('&lt;/head&gt;&lt;body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="TEL_onLoad()"&gt;');
  
  function alertUser() {
      if(confirm("Warning: Any unsaved data would be lost.\rDo you want to Continue?")) {
          return true;
      } else {
          return false;
      }
  }
  
  &lt;/script&gt;
  &lt;link rel="stylesheet" href="/global/css/gwy_hed.css" type="text/css"&gt;
  &lt;a name="top"&gt;&lt;/a&gt;
  &lt;table width="100%" cellpadding="0" cellspacing="0" border="0"&gt;
      &lt;tr&gt;
          &lt;td rowspan="4" valign="top"&gt;&lt;a href="http://telstra.com/?tR=1"&gt;&lt;img src="/global/images/telstra_logo2.gif" width="85" height="85" border="0" alt="telstra.com"&gt;&lt;/a&gt;&lt;/td&gt;
          &lt;td align="right" class="ap1"&gt;&lt;span class="hd1"&gt;&lt;a href="javascript:toggleAccessibility()"&gt;&lt;img src="/global/images/sin.gif" width="1" height="37" border="0" alt="press enter now to toggle the accessibile text mode of this page" align="absmiddle"&gt;&lt;/a&gt;
          &lt;a href="http://telstra.com/?tR=1"&gt;Telstra Homepage&lt;/a&gt; | &lt;a href="http://www.telstra.com.au/contact/?tR=1"&gt;Contact Us&lt;/a&gt; | &lt;a href="http://search.telstra.com/"&gt;Search&lt;/a&gt;&lt;img src="/global/images/sin.gif" width="12" height="1" alt=""&gt;&lt;/span&gt;&lt;/td&gt;
          &lt;td width="50%" class="ap1"&gt;&lt;img src="/global/images/sin.gif" width="1" height="57" alt=""&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="hd3"&gt;
      &lt;!--&lt;td&gt;&lt;img src="/global/images/sin.gif" width="500" height="2" alt=""&gt;&lt;/td&gt;--&gt;
          &lt;td colspan=50 width="100%"&gt;&lt;img src="/global/images/sin.gif" width="100" height="2" alt=""&gt;&lt;/td&gt;
          &lt;td&gt;&lt;img src="/global/images/sin.gif" width="1" height="2" alt=""&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td align="right"&gt;&lt;img src="/global/images/gwy_grad.gif" width="328" height="6" alt=""&gt;&lt;/td&gt;
          &lt;td class="hd4"&gt;&lt;img src="/global/images/sin.gif" width="1" height="1" alt=""&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td colspan=2 class="hd5" nowrap&gt;&lt;NOBR&gt;
      &lt;table cellpadding=1 cellspacing=1 border=0&gt;
    &lt;tr&gt;
     &lt;!-- AMCO-WORKFLOW:MODIFY:START --&gt;
      &lt;!--&lt;td rowspan=3 class="hd5" nowrap&gt;&lt;img src="/global/images/sin.gif" width="15" height="10" alt="" align="top"&gt;Telstra Contractor Self Service&lt;img src="/global/images/sin.gif" width="25" height="1" alt="" align="top"&gt;&lt;/td&gt;--&gt;
      &lt;td rowspan=4 class="hd5" nowrap&gt;&lt;img src="/global/images/sin.gif" width="5" height="10" alt="" align="top"&gt;Telstra Constructor Self Service&lt;img src="/global/images/sin.gif" width="5" height="1" alt="" align="top"&gt;&lt;/td&gt;
     &lt;!-- AMCO-WORKFLOW:MODIFY:END --&gt;
      &lt;TD nowrap&gt;&lt;img src="/global/images/sin.gif" width="10" height="12"&gt;&lt;/TD&gt;
      &lt;TD nowrap&gt;&lt;/TD&gt;
      &lt;TD nowrap&gt;&lt;/TD&gt;
     &lt;!-- AMCO-WORKFLOW:ADD:START --&gt;
     &lt;!--5.14.01 Anand Changes: start--&gt;
      &lt;!--&lt;TD nowrap&gt;&lt;/TD&gt;--&gt;
      &lt;!--5.14.01 Anand Changes: start--&gt;
     &lt;!-- AMCO-WORKFLOW:ADD:END --&gt;
     &lt;!--5.14.01 Anand Changes: start--&gt;
    &lt;/tr&gt;
    &lt;tr style="background-color:#99ccff;"&gt;
     &lt;!-- AMCO-WORKFLOW:ADD:START --&gt;
  
      &lt;TD class=button&gt;
       &lt;a class=button style="text-decoration:none"
       title="AMCO"
       href="javascript:doCommand('doWidebandWorkSummary')"
       onmousemove="window.status='View Work Summary'"
       onmouseout="window.status=window.defaultStatus"&gt;
       AMCO&lt;/a&gt;
      &lt;/TD&gt;
  
     &lt;!-- AMCO-WORKFLOW:ADD:END --&gt;
      &lt;TD nowrap style="background-color:#ffffff;"&gt;&lt;/TD&gt;
      &lt;TD class=button nowrap&gt;
       &lt;a class=button style="text-decoration:none"
       title="View Inbox"
       href="javascript:doCommand('doInboxStat')"
       onmousemove="window.status='View Inbox'"
       onmouseout="window.status=window.defaultStatus"&gt;
       &lt;NOBR&gt;Inbox 0&lt;/NOBR&gt;&lt;/a&gt;
      &lt;/TD&gt;
      &lt;TD class=button&gt;
       &lt;a class=button style="text-decoration:none"
       title="View Outbox"
       href="javascript:doCommand('doOutboxStat')"
       onmousemove="window.status='View Outbox'"
       onmouseout="window.status=window.defaultStatus"&gt;
       &lt;NOBR&gt;Outbox 0&lt;/NOBR&gt;&lt;/a&gt;
      &lt;/TD&gt;
  
      &lt;!--Start : IPaC Stage II Drop1 : Refresh button added--&gt;
      &lt;TD class=button&gt;
       &lt;a class=button style="text-decoration:none"
       title="Refresh Inbox and Outbox"
       href="javascript:doCommand('doInboxOutboxRefresh')"
       onmousemove="window.status='Refresh Inbox and Outbox'"
       onmouseout="window.status=window.defaultStatus"
       onclick="return alertUser()"&gt;
       &lt;NOBR&gt;Refresh&lt;/NOBR&gt;&lt;/a&gt;
      &lt;/TD&gt;
      &lt;!--End : IPaC Stage II Drop1--&gt;
  
      &lt;TD nowrap style="background-color:#ffffff;"&gt;&lt;/TD&gt;
      &lt;TD class=button nowrap&gt;
       &lt;a class=button style="text-decoration:none"
       title="Display TCSS help"
       href="javascript:loadHelpWindow()"
       onmousemove="window.status='Display TCSS help'"
       onmouseout="window.status=window.defaultStatus"&gt;
       &lt;NOBR&gt;Help&lt;/NOBR&gt;&lt;/a&gt;
      &lt;/TD&gt;
        &lt;!-- AMCO-WORKFLOW:ADD:START --&gt;
     &lt;!--5.14.01 Anand Changes: start--&gt;
  &lt;!--&lt;TD nowrap width="151" style="background-color:#ffffff;"&gt;&lt;/TD&gt;--&gt;
         &lt;!--5.14.01 Anand Changes: end--&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;TD nowrap&gt;&lt;img src="/global/images/sin.gif" width="38" height="12"&gt;&lt;/TD&gt;
      &lt;!--Start : IPaC Stage II Drop1 : Display message if refresh didnt occur--&gt;
      &lt;TD nowrap style="background-color:#ffffff;"&gt;&lt;/TD&gt;
  
           &lt;TD nowrap&gt;&lt;img src="/global/images/sin.gif" width="38" height="12"&gt;&lt;/TD&gt;
           &lt;TD nowrap style="background-color:#ffffff;"&gt;&lt;/TD&gt;&lt;/tr&gt;
           &lt;tr&gt;
           &lt;TD nowrap&gt;&lt;img src="/global/images/sin.gif" width="38" height="12"&gt;&lt;/TD&gt;
           &lt;TD nowrap style="background-color:#ffffff;"&gt;&lt;/TD&gt;
           &lt;/tr&gt;
          &lt;!--&lt;TD nowrap&gt;&lt;/TD&gt;--&gt;
         &lt;!--&lt;TD nowrap&gt;&lt;/TD&gt;--&gt;
         &lt;!-- AMCO-WORKFLOW:ADD:START --&gt;
          &lt;!--&lt;TD nowrap&gt;&lt;/TD&gt;--&gt;
         &lt;!-- AMCO-WORKFLOW:ADD:END --&gt;
  
      &lt;!--End : IPaC Stage II Drop1--&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
  
    &lt;/NOBR&gt;
    &lt;/td&gt;
  
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;script language="javascript" type="text/javascript"&gt;
  
  &lt;!--5.14.01 Anand Changes: changed from 100% to 15 % start--&gt;
  var s='&lt;table width="50%" cellpadding="0" cellspacing="0" border="0"&gt;&lt;tr&gt;&lt;td class="siteletTitleTab"&gt;&lt;img src="/global/images/sin.gif" width="1" height="3" alt=""&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;';
  &lt;!--5.14.01 Anand Changes: changed from 100% to 15 % end--&gt;
  if(v6)document.write(s);
  &lt;/script&gt;
  &lt;!--end global header--&gt;&lt;!--Don't place any other HTML code on this line!!--&gt;
  
  
  
  
  
  &lt;table width="100%" border="0" cellspacing="0" cellpadding="0"&gt;
  &lt;tr class=""&gt;
     &lt;td width="100%" rowspan="2" align=right&gt;
  
    &lt;/td&gt;
  &lt;TD&gt;
    &lt;INPUT type="hidden" name="internalConstructor" size=10 value="false"&gt; &lt;/TD&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  
  &lt;table border=0 cellspacing=0 cellpadding=0 width=100%&gt;
  &lt;tr&gt;&lt;td colspan=50 class=sitelettitletab&gt;
  &lt;img src=/global/res/images/sin.gif width=0 height=3&gt;
  &lt;/td&gt;&lt;/tr&gt;&lt;tr class=sitelettitletab&gt;
  
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=middle align=center nowrap&gt;&lt;a class=sitetabnav href='javascript:doCommand("doFrontPage")' onmousemove="window.status='Home Page'" onmouseout="window.status=window.defaultStatus" title='Home Page'&gt;Home Page&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=middle align=center nowrap&gt;&lt;a class=sitetabnav href='javascript:doCommand("doTransmittalsInbox")' onmousemove="window.status='My TCSS'" onmouseout="window.status=window.defaultStatus" title='My TCSS'&gt;My TCSS&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=siteactivetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=siteactivetabnav valign=top&gt;&lt;img src=/global/res/images/sin.gif width=5 height=20&gt;&lt;/td&gt;&lt;td class=siteactivetabnav valign=middle align=center nowrap&gt;&lt;img src=/global/res/themes/corporate/images/tick.gif width=8 height=9&gt;&amp;nbsp;&lt;a class=siteactivetabnav onmousemove="window.status='Work Under Contract'" onmouseout="window.status=window.defaultStatus"&gt;Work Under Contract&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=siteactivetabnav  valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;&lt;/td&gt;
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=middle align=center nowrap&gt;&lt;a class=sitetabnav href='javascript:doCommand("doGenDocSearch")' onmousemove="window.status='Documents'" onmouseout="window.status=window.defaultStatus" title='Documents'&gt;Documents&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=middle align=center nowrap&gt;&lt;a class=sitetabnav href='javascript:doCommand("doAssetSearch")' onmousemove="window.status='Reference Library'" onmouseout="window.status=window.defaultStatus" title='Reference Library'&gt;Reference Library&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=middle align=center nowrap&gt;&lt;a class=sitetabnav href='javascript:doCommand("doAbout")' onmousemove="window.status='Support'" onmouseout="window.status=window.defaultStatus" title='Support'&gt;Support&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;
  &lt;td&gt;&lt;img src=/global/res/images/sin.gif width=3 height=1&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_left_inactive.gif width=8 height=20&gt;&lt;/td&gt;&lt;td class=sitetabnav valign=middle align=center nowrap&gt;&lt;a class=sitetabnav href='javascript:doLogout()' onmousemove="window.status='Close TCSS'" onmouseout="window.status=window.defaultStatus" title='Close TCSS'&gt;Close TCSS&lt;/a&gt;&lt;/td&gt;&lt;td align=right class=sitetabnav valign=top&gt;&lt;img src=/global/res/themes/corporate/images/tab_right_inactive.gif width=8 height=20&gt;
  &lt;td width=100%&gt;&lt;img src=/global/res/images/sin.gif width=1 height=1&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=50&gt;&lt;img src=/global/res/images/sin.gif width=0 height=2&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
  
  &lt;table cellpadding=0 cellspacing=0 border=0 width=100%&gt;&lt;tr&gt;&lt;td&gt;
  &lt;img src='/global/res/images/sin.gif' width=1 height=3&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=sitetabnav&gt;&lt;td&gt;
  &lt;table cellpadding=0 cellspacing=0 border=0&gt;&lt;tr&gt;&lt;script type='text/javascript'&gt;
  TEL_horizontalSubsectionNav('corporate')
  &lt;/script&gt;&lt;td width=100%&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
  
  
  
  &lt;table cellspacing=10 cellpadding=0 border=0 width="100%"&gt;
  &lt;tr&gt;&lt;td valign=top width="100%"&gt;
  
  
  
  
  
  &lt;TABLE border=0 cellpadding=0 cellspacing=0 width=100%&gt;
  &lt;TR&gt;&lt;TD bgcolor=#99ccff&gt;
  &lt;TABLE cellspacing=2 cellpadding=0 border=0 width=100%&gt;
  &lt;TR&gt;&lt;TD bgcolor=#F1F8FE&gt;
   &lt;TABLE border=0 cellpadding=0 cellspacing=0&gt;
   &lt;TR&gt;&lt;TD colspan=2 height=1 bgcolor=#F1F8FE&gt;&lt;/TD&gt;
   &lt;TD rowspan=3&gt;&lt;IMG border=0 src='images/corner.jpg'&gt;&lt;/TD&gt;
   &lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG border=0 width=1 height=1 src='images/whitedot.gif'&gt;&lt;/TD&gt;
   &lt;TD class='groupboxheader'&gt;&amp;nbsp;&amp;nbsp;WUC CSA -  Scope Variation - Site &amp; Financial Details &amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
  
  
  &lt;TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" WIDTH="100%"&gt;
  &lt;TR&gt;
    &lt;TD CLASS="label" WIDTH="20%"&gt;Contract Number:&lt;/TD&gt;
    &lt;TD WIDTH="25%" CLASS="fieldlabel"&gt;20003171&lt;/TD&gt;
    &lt;TD CLASS="label" WIDTH="20%"&gt;Separable Portion:&lt;/TD&gt;
    &lt;TD WIDTH="25%" CLASS="fieldlabel"&gt;30056120&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD CLASS="label"&gt;Work Order:&lt;/TD&gt;
    &lt;TD CLASS="fieldLabel"&gt;1&lt;/TD&gt;
    &lt;TD CLASS="label"&gt;CSA Number:&lt;/TD&gt;
    &lt;TD CLASS="fieldLabel"&gt;4117298&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD CLASS="label"&gt;Current CSA Status:&lt;/TD&gt;
    &lt;TD class="fieldLabel"&gt;
       Draft&lt;/TD&gt;
    &lt;TD CLASS="label"&gt;Initiated By:&lt;/TD&gt;
    &lt;TD CLASS="fieldlabel"&gt;CONSTRUCTOR&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD CLASS="label"&gt;Issue Number:&lt;/TD&gt;
    &lt;TD CLASS="fieldlabel"&gt;1&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;/TABLE&gt;
  
    &lt;/TD&gt;
   &lt;/TR&gt;
   &lt;/TABLE&gt;
   &lt;/TD&gt;
  &lt;/TR&gt;
  &lt;/TABLE&gt;
  
  &lt;SCRIPT type="text/javascript"&gt;
  function showQuote(sequenceNo) {
      var f = document.mainForm;
      switch (parseInt(sequenceNo)) {
      case 10001:
          f.command.value = "doCsaViewPSDetails";
          break;
      case 10002:
          f.command.value = "doCsaViewDRDetails";
          break;
      case 10003:
          f.command.value = "doCsaViewLSDetails";
          break;
      default:
          f.sequenceNo.value = sequenceNo;
          f.command.value = "doCsaViewDIDetails";
      }
      doSubmit(f);
  }
  
  function showMaterialQuote(sequenceNo) {
      var f = document.mainForm;
      f.sequenceNo.value = sequenceNo;
      f.command.value = "doCsaViewMatDetails";
      doSubmit(f);
  }
  //NDCG:For Link to Non Catalogued material screen
  //NDCG:Add:Start
  function showNonCatMaterialQuote(sequenceNo) {
      var f = document.mainForm;
      f.command.value = "doCsaViewMatExDetails";
      f.sequenceNo.value = sequenceNo;
      doSubmit(f);
  }
  //NDCG:ADD:End
  &lt;/SCRIPT&gt;
  
  &lt;INPUT type="hidden" name="sequenceNo"&gt;
  &lt;BR&gt;
  
  &lt;TABLE border="0" cellspacing="1" cellpadding="0" class="table" width="100%"&gt;
  &lt;TR align="middle"&gt;
    &lt;TD rowspan="2" class=colHeader&gt;Type&lt;/TD&gt;
    &lt;TD colspan="3" class=colHeader&gt;TCSS Calculated&lt;/TD&gt;
    &lt;TD colspan="3" class=colHeader&gt;Quoted&lt;/TD&gt;
    &lt;TD colspan="3" class=colHeader&gt;Approved&lt;/TD&gt;
    &lt;TD rowspan="2" class=colHeader&gt;View&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;TR align="middle"&gt;
    &lt;TD class=colHeader&gt;Value&lt;/TD&gt;
    &lt;TD class=colHeader&gt;GST&lt;/TD&gt;
    &lt;TD class=colHeader&gt;Price&lt;/TD&gt;
    &lt;TD class=colHeader&gt;Value&lt;/TD&gt;
    &lt;TD class=colHeader&gt;GST&lt;/TD&gt;
    &lt;TD class=colHeader&gt;Price&lt;/TD&gt;
    &lt;TD class=colHeader&gt;Value&lt;/TD&gt;
    &lt;TD class=colHeader&gt;GST&lt;/TD&gt;
    &lt;TD class=colHeader&gt;Price&lt;/TD&gt;
  &lt;/TR&gt;
  
  
  &lt;TR&gt;
    &lt;TD class=cell&gt;1. PENRITH - Generic Land &amp; Building - Project&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD class=cell align="center" nowrap&gt;
       &lt;A HREF="javascript:showQuote('1')"&gt;&lt;IMG SRC="/global/res/images/view_white.gif" width=44 height=18 onmousemove="window.status='View Item'" onmouseout="window.status=window.defaultStatus" ALT="View Item" BORDER=0&gt;&lt;/A&gt;
       &lt;A HREF="javascript:showMaterialQuote(1)"&gt;&lt;IMG SRC=/global/res/images/material.gif width=16 height=16 border=0 onmousemove="window.status='Catalogued Material'" onmouseout="window.status=window.defaultStatus" alt='Catalogued Material'&gt;&lt;/A&gt;
       &lt;A HREF="javascript:showNonCatMaterialQuote(1)"&gt;&lt;IMG SRC=/global/res/images/material.gif width=16 height=16 border=0 onmousemove="window.status='Non Catalogued Material'" onmouseout="window.status=window.defaultStatus" alt='Non Catalogued Material'&gt;&lt;/A&gt;
    &lt;/TD&gt;
  &lt;/TR&gt;
  
  &lt;TR&gt;
    &lt;TD class=cell&gt;Daywork Rates&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD class=cell align="center" nowrap&gt;
       &lt;A HREF="javascript:showQuote('10002')"&gt;&lt;IMG SRC="/global/res/images/view_white.gif" width=44 height=18 onmousemove="window.status='View Item'" onmouseout="window.status=window.defaultStatus" ALT="View Item" BORDER=0&gt;&lt;/A&gt;
  
  
    &lt;/TD&gt;
  &lt;/TR&gt;
  
  &lt;TR&gt;
    &lt;TD class=cell&gt;Lump Sums&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD nowrap class=rightcell&gt;$0.00&lt;/TD&gt;
    &lt;TD class=cell align="center" nowrap&gt;
       &lt;A HREF="javascript:showQuote('10003')"&gt;&lt;IMG SRC="/global/res/images/view_white.gif" width=44 height=18 onmousemove="window.status='View Item'" onmouseout="window.status=window.defaultStatus" ALT="View Item" BORDER=0&gt;&lt;/A&gt;
  
  
    &lt;/TD&gt;
  &lt;/TR&gt;
  </code></pre>
  
  <p>Attempts:</p>
  
  <pre><code>driver.find_element_by_css_selector("a[href='javascript:showQuote('10003')']").click()
  driver.find_element_by_xpath("//a[@href="javascript:showQuote('10003')"]").click()
  driver.find_element_by_partial_link_text('showQuote('10003')').click()
  driver.find_element_by_css_selector('[href^=javascript:showQuote('10003')]').click()
  driver.execute_script('showQuote('10003')')
  </code></pre>