title: Handling <br> tag in xpath through cucumber
body: <p>I'm using cucumber with Selenide frameworks, I have the following step in cucumber's regression.feature file:</p>
  
  <pre><code>Then Check if has a section labelled "Foo bar foo bar"
  </code></pre>
  
  <p>In Steps.java file I have:</p>
  
  <pre><code>@Then("^Check if has a section labelled \"([^\"]*)\"$")
  public void checkThatHomePageHassectionLabelled(String arg0) throws Throwable {
      servicesSectionCheck(arg0);
  }
  </code></pre>
  
  <p>And I would like to check if: </p>
  
  <pre><code>public static void servicesSectionCheck(String name) {
      $(byXpath("//h1[(text()='" + name + "')]")).shouldBe(visible);
  }
  </code></pre>
  
  <p>The problem is sometimes when the browser is smaller (RWD issue), the HTML is looking like</p>
  
  <pre><code>&lt;div id="services" class="page_section row"&gt;
  &lt;input type="hidden" id="Count1" value="4"&gt;
  &lt;input type="hidden" id="Count2" value="2"&gt;
  &lt;input type="hidden" id="Count3" value="10"&gt;
  &lt;input type="hidden" id="loadMoreServicesURL" value="anURLhere"&gt;
  &lt;input type="hidden" id="portletNamespace" value="_serviceslist_INSTANCE_t8TJHYdgnwCu_"&gt; 
  &lt;div class="col-12 desktop-padding"&gt; 
      &lt;div class="d-none d-sm-block margin-top-50"&gt;&lt;/div&gt; 
      &lt;h1 class="text-center d-none d-sm-block"&gt;Foo bar &lt;br&gt; foo bar&lt;/h1&gt; 
  &lt;div class="d-none d-sm-block margin-bottom-40"&gt;&lt;/div&gt;(...)
  </code></pre>
  
  <p>And sometimes</p>
  
  <pre><code>&lt;h1 class="text-center d-none d-sm-block"&gt;Foo bar foo bar&lt;/h1&gt;
  </code></pre>
  
  <p>How can I set an Xpath in <code>servicesSectionCheck</code> function to pass despite if <code>&lt;br&gt;</code> tag is presented or not?</p>