tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkemn...@apache.org
Subject [2/2] tapestry-5 git commit: Revert "use WebDriver directly"
Date Mon, 16 Oct 2017 13:43:39 GMT
Revert "use WebDriver directly"

This reverts commit de7be5737141e6877b7d29c0e11447c83aa25a6a.


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/1c42ccee
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/1c42ccee
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/1c42ccee

Branch: refs/heads/master
Commit: 1c42cceef442476124fc7a941d6c1bf82a019282
Parents: 8149c79
Author: Jochen Kemnade <jkemnade@apache.org>
Authored: Mon Oct 16 15:42:06 2017 +0200
Committer: Jochen Kemnade <jkemnade@apache.org>
Committed: Mon Oct 16 15:42:06 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/1c42ccee/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
----------------------------------------------------------------------
diff --git a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
index 5c42ba1..5f9419e 100644
--- a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
+++ b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
@@ -1307,8 +1307,7 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
     @Override
     public void type(String locator, String value)
     {
-        WebElement element = webDriver.findElement(convertLocator(locator));
-        element.sendKeys(value);
+        selenium.type(locator, value);
     }
 
     @Override


Mime
View raw message