From 1cb6e91e998d861c8e6b67cfc9bf83108331ca50 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 27 May 2015 07:38:55 -0400
Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail

---
 tests/Selenium/bootstrap.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/Selenium/bootstrap.php b/tests/Selenium/bootstrap.php
index cf547df..dc4897d 100644
--- a/tests/Selenium/bootstrap.php
+++ b/tests/Selenium/bootstrap.php
@@ -337,6 +337,11 @@
         return $response;
     }
 
+    protected function getText($element)
+    {
+        return $element->text() ?: $element->attribute('textContent');
+    }
+
     protected function assertHasClass($classname, $element)
     {
         $this->assertContains($classname, $element->attribute('class'));

--
Gitblit v1.9.1