title: Selenium_Select And Item In A "Div"
body: <p>Im new on Selenium and stuck on a selection of an item in a "Div", in a "UL", in a "LI", in a "class" ^^"</p>
  
  <p>Here is the page : (i want to click on the "Megaboss") : 
  <a href="https://www.games-workshop.com/fr-FR/Warhammer?N=403739901+453061871&amp;Nr=AND%28sku.siteId%3AFR_gw%2Cproduct.locale%3Afr_FR_gw%29&amp;Nrs=collection%28%29%2Frecord%5Bproduct.startDate+%3C%3D+1564996500000+and+product.endDate+%3E%3D+1564996500000%5D" rel="nofollow noreferrer">https://www.games-workshop.com/fr-FR/Warhammer?N=403739901+453061871&amp;Nr=AND%28sku.siteId%3AFR_gw%2Cproduct.locale%3Afr_FR_gw%29&amp;Nrs=collection%28%29%2Frecord%5Bproduct.startDate+%3C%3D+1564996500000+and+product.endDate+%3E%3D+1564996500000%5D</a></p>
  
  <p>And here is my fonction : </p>
  
  <pre><code>public void CliquerWarboss() {
        find(By.xpath("//section[@id='mainContent']//a[text()='Megaboss']")).click();
  </code></pre>
  
  <p>}</p>
  
  <p>I tried to select it by <code>cssSelector</code> and <code>id</code> but doesn't seem to work neither.</p>
  
  <p>Here is the issue message : </p>
  
  <pre><code>11:26:37.451 [main] DEBUG n.t.c.steps.ConsoleLoggingListener - RELATED ISSUES: 
  11:26:37.694 [main] ERROR n.t.c.steps.ConsoleLoggingListener - TEST FAILED AT STEP Cliquer warboss
  11:26:37.695 [main] ERROR n.t.c.steps.ConsoleLoggingListener - element click intercepted: Element &lt;a class="test-title-link-prod3140156 product-item__name" data-gtm-productfieldobject="{&amp;quot;quantity&amp;quot;:1,&amp;quot;price&amp;quot;:&amp;quot;34.00&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Ironjawz Orruk ...&amp;quot;,&amp;quot;id&amp;quot;:&amp;quot;99070209003&amp;quot;,&amp;quot;position&amp;quot;:5,&amp;quot;category&amp;quot;:&amp;quot;GW: Age of Sigmar&amp;quot;}" data-gtm-actionfieldobject="{&amp;quot;list&amp;quot;:&amp;quot;ResultsList | searchResults - Grand Alliance Destruction - Ironjawz&amp;quot;}" href="/fr-FR/Ironjawz-Orruk-Megaboss"&gt;Megaboss&lt;/a&gt; is not clickable at point (844, 640). Other element would receive the click: &lt;img class="test-img-prod3140157" alt="Warchanter" src="https://www.games-workshop.com/resources/catalog/product/600x620/99070209004_Warchanter01.jpg"&gt;
  11:26:37.717 [main] DEBUG n.t.core.reports.ReportService - Reporting formats: [JSON, HTML]
  </code></pre>
  
  <p>If anyone could help me to understand what's happend ? :/ </p>
  
  <p>thank you</p>