You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2017/10/16 12:44:22 UTC

tapestry-5 git commit: use WebDriver directly

Repository: tapestry-5
Updated Branches:
  refs/heads/master 0b20ab337 -> de7be5737


use WebDriver directly


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

Branch: refs/heads/master
Commit: de7be5737141e6877b7d29c0e11447c83aa25a6a
Parents: 0b20ab3
Author: Jochen Kemnade <jk...@apache.org>
Authored: Mon Oct 16 14:43:18 2017 +0200
Committer: Jochen Kemnade <jk...@apache.org>
Committed: Mon Oct 16 14:43:18 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/de7be573/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 9b57b85..dbf5bbf 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,7 +1307,8 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
     @Override
     public void type(String locator, String value)
     {
-        selenium.type(locator, value);
+        WebElement element = webDriver.findElement(convertLocator(locator));
+        element.sendKeys(value);
     }
 
     @Override