summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/selenium/php/selenium.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/selenium/php/selenium.php')
-rw-r--r--tests/FunctionalTests/selenium/php/selenium.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/FunctionalTests/selenium/php/selenium.php b/tests/FunctionalTests/selenium/php/selenium.php
index 36d86e1e..03b264db 100644
--- a/tests/FunctionalTests/selenium/php/selenium.php
+++ b/tests/FunctionalTests/selenium/php/selenium.php
@@ -462,6 +462,12 @@ class SeleniumTestCase extends UnitTestCase
parent::__construct();
}
+ function getPage($class)
+ {
+ $info = new ReflectionClass($class);
+ return Prado::getApplication()->getTestPage($info->getFileName());
+ }
+
function __call($func, $args)
{
if(count($args) == 0)