title: Unable to read and print full text hidden behind ellipsis on Console using Selenium webdriver
body: <p>I am trying to automate 'https://www.noon.com/uae-en/' and there I wanted to get full text of the first product named &quot;U-HOOME Push Pop
  Bubble Fidget Sensor…&quot; in the carousel in Recommended for you. But the full name of the product is &quot;U-HOOME Push Pop
  Bubble Fidget Sensory Toy 13x13x2cm&quot; which can be seen if we hover on the '...' stuff. Seems like ellipsis is added.</p>
  <p>I tried using the following code.</p>
  <pre><code>List&lt;WebElement&gt; dem=driver.findElements(By.cssSelector(&quot;div[data-qa='product-name']&gt;span&gt;span&gt;span&gt;span&quot;));
          try {
              System.out.println(dem.get(0).getCssValue(&quot;text-overflow&quot;));
              System.out.println(&quot;Printed the value of dem element.&quot;);
          }catch(Exception e) {
              System.out.println(&quot;Failed.&quot;);
          }
  </code></pre>
  <p>The output what this gave me is,</p>
  <p>clip
  Printed the value of dem element.</p>
  <p>So that shows that getcssValue(&quot;text-overflow&quot;) did not work for me. Also have a doubt whether the locator I used is correct or not.</p>
  <p>Not necessary to hover on '...'. Even if we hover on complete product name in the middle, we can see the full name of the product which is truncated using some css functionality. Attached is the image of hover text.</p>
  <p><a href="https://i.stack.imgur.com/Sn4XE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sn4XE.png" alt="Hover image" /></a></p>
  <p>Please help me to find the solution.</p>