title: Selenium - Get and compare specified length of text from web element
body: <p>The scenario goes like this...</p>
  
  <p>There's dynamic text within a web element that sometimes contains "..." at the end, due to it's length. e.g The quick brown fox...</p>
  
  <p>I would like to be able to extract all text before the "..." then compare this text to the benchmark text. The benchmark text contains the complete sentence i.e The quick brown fox jumps over the lazy dog. I want to be able to take the text extracted and compare the text in character length with that of the benchmark text just so we are comparing apples with apples. So it would be like this Get The quick brown fox compare to The quick brown fox</p>
  
  <p>Thanks in advance</p>