title: selenium find element by title that contains?
body: <p>I need to find the RSSI (4G Signal Strength) from the output below using selenium.</p>
  
  <p>From what I can see if I first need to find all the elements that contain the title EE000000. then I can see what looks to be a path attribute in the parent div that matches another child div with the same path</p>
  
  <p>For example 0-7262-12686-13379 is named in two divs, in one is the title and in the other is the values I want.</p>
  
  <p>then I need to get title that begins with "4G signal Strenght" to get that value, my end result should be</p>
  
  <pre><code>EE100000 -96
  EE100001 -81
  </code></pre>
  
  <p>and so on...</p>
  
  <p>thus far my path attempt has failed to find the EE100000 values as per the below, which was trying to find an existing EE no, not all EE not</p>
  
  <pre><code>driver.find_element_by_xpath('//*[contains(@title, "EE100205")')
  SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//*[contains(@title, "EE100205")' is not a valid XPath expression.
  </code></pre>
  
  <p>ive added the source as an image through</p>
  
  <p>source code sample below:-</p>
  
  <pre><code>  &lt;div class="slick-row  odd" row="1" style="height:29px"&gt;
          &lt;row&gt;
              &lt;div class="slick-cell lr c0 treeColumn children00"&gt;
                  &lt;div class="treeItem deviceItem cell-inner device expanded isnotfavorite remoteprobe isnotpaused" idx="1"
                      level="2" objid="13379" type="device" path="0-7262-12686-13379" template="_Prtg.Core.device.js"&gt;
                      &lt;level last="true"&gt;&lt;/level&gt;
                      &lt;level lastx="false"&gt;
                          &lt;level&gt;
                              &lt;toggler&gt;&lt;/toggler&gt;
                          &lt;/level&gt;
                      &lt;/level&gt;
                      &lt;div class="indent level2" title="EE100133 RS – NAME&amp;lt;br/&amp;gt;(6 Sensors)&amp;lt;br/&amp;gt;OK"&gt;
                          &lt;level class="device"&gt;
                              &lt;icon popup="333" style="background-image:url(/icons/devices/vendors_cradlepoint.png)"&gt;&lt;/icon&gt;
                          &lt;/level&gt;
                          &lt;device&gt;
                              &lt;name popup="3333" goto="true"&gt;EE100133 - RS NAME &lt;/name&gt;
                              &lt;condition&gt;&lt;/condition&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" id="fav-13379" onclick="_Prtg.objectTools.faveObject.call(this,13379,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                              &lt;status&gt;&lt;/status&gt;
                          &lt;/device&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="slick-cell lr c1 valueColumn children00"&gt;
                  &lt;div class="sensorItem cell-inner c1 drop device expanded isnotfavorite remoteprobe isnotpaused" idx="1"
                      objid="13379" type="device" path="0-7262-12686-13379" template="_Prtg.Core.sensor.js"&gt;
                      &lt;div&gt;
                          &lt;sensor idx="0" objid="13380" type="sensor" class="sensor dragable  isnotpaused isnotfavorite status3"
                              title="Throughput (1,19 kbit/s)"&gt;
                              &lt;icon popup="333" goto="true"&gt;&lt;/icon&gt;
                              &lt;name popup="3333" goto="true"&gt;Throughput&lt;/name&gt;
                              &lt;value goto="true"&gt;1,19 kbit/s&lt;/value&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" onclick="_Prtg.objectTools.faveObject.call(this,13380,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                          &lt;/sensor&gt;
                          &lt;sensor idx="1" objid="13381" type="sensor" class="sensor dragable  isnotpaused isnotfavorite status3"
                              title="Uptime (306 d)"&gt;
                              &lt;icon popup="333" goto="true"&gt;&lt;/icon&gt;
                              &lt;name popup="3333" goto="true"&gt;Uptime&lt;/name&gt;
                              &lt;value goto="true"&gt;306 d&lt;/value&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" onclick="_Prtg.objectTools.faveObject.call(this,13381,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                          &lt;/sensor&gt;
                          &lt;sensor idx="2" objid="13382" type="sensor" class="sensor dragable  isnotpaused isnotfavorite status3"
                              title="4G Signal strength (-96 #)"&gt;
                              &lt;icon popup="333" goto="true"&gt;&lt;/icon&gt;
                              &lt;name popup="3333" goto="true"&gt;4G Signal strength&lt;/name&gt;
                              &lt;value goto="true"&gt;-96 #&lt;/value&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" onclick="_Prtg.objectTools.faveObject.call(this,13382,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                          &lt;/sensor&gt;
                          &lt;sensor idx="3" objid="13383" type="sensor" class="sensor dragable  isnotpaused isnotfavorite status3"
                              title="4G Signal quality (-7 #)"&gt;
                              &lt;icon popup="333" goto="true"&gt;&lt;/icon&gt;
                              &lt;name popup="3333" goto="true"&gt;4G Signal quality&lt;/name&gt;
                              &lt;value goto="true"&gt;-7 #&lt;/value&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" onclick="_Prtg.objectTools.faveObject.call(this,13383,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                          &lt;/sensor&gt;
                          &lt;sensor idx="4" objid="13384" type="sensor" class="sensor dragable  isnotpaused isnotfavorite status3"
                              title="3G Signal quality (-6 #)"&gt;
                              &lt;icon popup="333" goto="true"&gt;&lt;/icon&gt;
                              &lt;name popup="3333" goto="true"&gt;3G Signal quality&lt;/name&gt;
                              &lt;value goto="true"&gt;-6 #&lt;/value&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" onclick="_Prtg.objectTools.faveObject.call(this,13384,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                          &lt;/sensor&gt;
                          &lt;sensor idx="5" objid="13385" type="sensor" class="sensor dragable  isnotpaused isnotfavorite status3"
                              title="Network Bearer (211 msec)"&gt;
                              &lt;icon popup="333" goto="true"&gt;&lt;/icon&gt;
                              &lt;name popup="3333" goto="true"&gt;Network Bearer&lt;/name&gt;
                              &lt;value goto="true"&gt;211 msec&lt;/value&gt;
                              &lt;favorit&gt;
                                  &lt;span class="objectisnotfavorite icon-gray ui-icon ui-icon-flag" onclick="_Prtg.objectTools.faveObject.call(this,13385,'toggle');return false;"&gt;&lt;/span&gt;
                              &lt;/favorit&gt;
                          &lt;/sensor&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/row&gt;
      &lt;/div&gt;
      &lt;div class="slick-row  even" row="2" style="height:29px"&gt;
          &lt;row&gt;
              &lt;div class="slick-cell lr c0 treeColumn children00"&gt;
                  &lt;div class="treeItem deviceItem cell-inner device expanded isnotfavorite remoteprobe isnotpaused" idx="2"
                      level="2" objid="14551" type="device" path="0-7262-12686-14551" template="_Prtg.Core.device.js"&gt;
                      &lt;level last="true"&gt;&lt;/level&gt;
                      &lt;level lastx="false"&gt;
                          &lt;level&gt;
                              &lt;toggler&gt;&lt;/toggler&gt;
                          &lt;/level&gt;
                      &lt;/level&gt;
  </code></pre>