title: How to assert a text field contains in selenium c#
body: <p>I have this code I'm trying to assert that a text field contains "Post Published" I can't seem to figure it out</p>
  
  <pre><code>string actualvalue = driver.FindElement(By.Id("message")).Text;
  
  actualvalue.Contains("Post published1.");
  </code></pre>
  
  <p>I'm not sure where to place my assertion.</p>