title: There is no "get text() .contains ()" in selenium python
body: <p>Below works very good in java but try to translate this to Python code (There is no  "get text() .contains ()" in selenium python ) :</p>
  
  <pre><code>if ((driver.findElement(By.xpath("//*[@id='payload']"))).getText().contains("report")){
             Assert.assertEquals(driver.findElement(By.xpath("//*       [@id='payload']")).getText().contains("&lt;statusCode&gt;60&lt;/statusCode&gt;"),true);
        report=true; 
             System.out.println("Successful update executed,PASS");
        }
  </code></pre>