title: How the xpath should be like to get this value
body: <p>How the xpath should be like to return the value <code>Rua Jorge de Lima, Boa Viagem</code>?</p>
  <blockquote>
  <p><code>xpath('//div[@class=&quot;simple-card__actions&quot;]/p[@class=&quot;color-dark text-regular simple-card__address&quot;]')</code></p>
  </blockquote>
  <p>I have been tried to get this value inside HTML element with the xpath above, but it returns an empty array when ran from <code>.py</code> file. When I try from terminal it returns:</p>
  <pre><code>In [4]: response.xpath('//div[@class=&quot;simple-card__actions&quot;]/p[@class=&quot;color-dark text-regular simple-card__address&quot;]').extract()
  Out[4]: '&lt;p ellipsis=&quot;true&quot; ellipsis-lines=&quot;1&quot; class=&quot;color-dark text-regular simple-card__address&quot;&gt;Rua Jorge de Lima, Boa Viagem&lt;/p&gt;'
  </code></pre>
  <p>HTML:</p>
  <pre><code>&lt;div class=&quot;simple-card__actions&quot;&gt;
      &lt;p class=&quot;color-dark text-regular simple-card__address&quot; ellipsis=&quot;true&quot; ellipsis-lines=&quot;1&quot;&gt;Rua Jorge de Lima, Boa Viagem&lt;/p&gt;
      &lt;ul class=&quot;feature__container simple-card__amenities&quot;&gt;
          &lt;li class=&quot;feature__item text-small js-areas&quot;&gt;
              &lt;span class=&quot;icon icon-color--current icon-size--regular&quot;&gt;
                  &lt;svg viewBox=&quot;0 0 24 24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
                      &lt;g fill-rule=&quot;nonzero&quot; fill=&quot;none&quot;&gt;
                          &lt;path d=&quot;M0 0h24v24H0z&quot;&gt;&lt;/path&gt;
                          &lt;path d=&quot;M2 2h20v20H2z&quot;&gt;&lt;/path&gt;
                          &lt;path d=&quot;M5 18V6a1 1 0 00-2 0v13a2 2 0 002 2h13a1 1 0 000-2H6a1 1 0 01-1-1zM19.25 3c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0119.25 17H8.75A1.75 1.75 0 017 15.25V4.75C7 3.784 7.784 3 8.75 3zM18 5h-8a1 1 0 00-1 1v8a1 1 0 001 1h8a1 1 0 001-1V6a1 1 0 00-1-1z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                      &lt;/g&gt;
                  &lt;/svg&gt;
              &lt;/span&gt;
              &lt;span&gt;63 m²&lt;!----&gt;&lt;/span&gt;
          &lt;/li&gt;
              &lt;li class=&quot;feature__item text-small js-bedrooms&quot;&gt;
                  &lt;span class=&quot;icon icon-color--current icon-size--regular&quot;&gt;
                      &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot;&gt;
                          &lt;path fill=&quot;currentColor&quot; d=&quot;M21 14H3v-1c0-.801.312-1.555.879-2.121A2.978 2.978 0 016 10h12c.801 0 1.555.312 2.121.879.567.566.879 1.32.879 2.121v1zm0 3H3v-1h18v1zM5 8V6c0-.551.449-1 1-1h4c.551 0 1 .449 1 1v2H5zm8-2c0-.551.449-1 1-1h4c.551 0 1 .449 1 1v2h-6V6zm8 3V6a3 3 0 00-3-3h-4c-.768 0-1.47.29-2 .764A2.993 2.993 0 0010 3H6a3 3 0 00-3 3v3a4.992 4.992 0 00-2 4v6a2 2 0 002 2h1v-2h16v2h1a2 2 0 002-2v-6a4.992 4.992 0 00-2-4z&quot;&gt;&lt;/path&gt;
                      &lt;/svg&gt;
                  &lt;/span&gt;
                  &lt;span&gt;2&lt;!----&gt;&lt;/span&gt;
              &lt;/li&gt;
              &lt;li class=&quot;feature__item text-small js-parking-spaces&quot;&gt;
                  &lt;span class=&quot;icon icon-color--current icon-size--regular&quot;&gt;
                      &lt;svg viewBox=&quot;0 0 24 24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
                          &lt;g fill-rule=&quot;nonzero&quot; fill=&quot;none&quot;&gt;
                              &lt;path d=&quot;M0 0h24v24H0z&quot;&gt;&lt;/path&gt;
                              &lt;path d=&quot;M2 2h20v20H2z&quot;&gt;&lt;/path&gt;
                              &lt;path d=&quot;M15.843 2a3 3 0 012.935 2.38l.778 3.671A3 3 0 0122 11v9a2 2 0 01-2 2h-1a1 1 0 01-1-1v-2H6v2a1 1 0 01-1 1H4a2 2 0 01-2-2v-9a3 3 0 012.444-2.949l.778-3.672A3 3 0 018.157 2zM19 10H5a1 1 0 00-1 1v6h16v-6a1 1 0 00-1-1zm-2.5 2a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-9 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm8.343-8H8.157l-.117.007a1 1 0 00-.862.786L6.5 8h11l-.678-3.207-.031-.113a1 1 0 00-.948-.68z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;
                          &lt;/g&gt;
                      &lt;/svg&gt;
                  &lt;/span&gt;
                  &lt;span&gt;1&lt;!----&gt;&lt;/span&gt;
              &lt;/li&gt;
              &lt;li class=&quot;feature__item text-small js-bathrooms&quot;&gt;
                  &lt;span class=&quot;icon icon-color--current icon-size--regular&quot;&gt;
                      &lt;svg viewBox=&quot;0 0 24 24&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
                          &lt;g fill-rule=&quot;nonzero&quot; fill=&quot;none&quot;&gt;
                              &lt;path d=&quot;M0 0h24v24H0z&quot;&gt;&lt;/path&gt;                 
                              &lt;path d=&quot;M2 2h20v20H2z&quot;&gt;&lt;/path&gt;                         
                              &lt;path d=&quot;M10.912 16h.125a.963.963 0 00.963-.963V13h-2v2.088c0 .504.408.912.912.912zm4 3h.125a.963.963 0 00.963-.963V13h-2v5.088c0 .504.408.912.912.912zm4-3h.125a.963.963 0 00.963-.963V13h-2v2.088c0 .504.408.912.912.912zM21 11H9V9a2 2 0 012-2h3V4H5v17a1 1 0 11-2 0V4a2 2 0 012-2h9a2 2 0 012 2v3h3a2 2 0 012 2v2z&quot; fill=&quot;currentColor&quot;&gt;&lt;/path&gt;                         
                          &lt;/g&gt;
                      &lt;/svg&gt;
                  &lt;/span&gt;
                  &lt;span&gt;2&lt;!----&gt;&lt;/span&gt;
              &lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class=&quot;simple-card__cta&quot;&gt;
          &lt;button type=&quot;button&quot; class=&quot;link link-cta link--bold js-see-phone&quot;&gt;&lt;!----&gt; Ligar&lt;/button&gt;
          &lt;button type=&quot;button&quot; class=&quot;link link-cta link--bold js-send-message&quot;&gt;&lt;!----&gt; Mensagem&lt;/button&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>