[Checkins] SVN: gocept.selenium/trunk/ added keyDown, keyUp and keyPress as well as control-key variants
Thomas Lotze
tl at gocept.com
Tue May 18 04:35:22 EDT 2010
Log message for revision 112434:
added keyDown, keyUp and keyPress as well as control-key variants
Changed:
U gocept.selenium/trunk/CHANGES.txt
U gocept.selenium/trunk/src/gocept/selenium/selenese.py
-=-
Modified: gocept.selenium/trunk/CHANGES.txt
===================================================================
--- gocept.selenium/trunk/CHANGES.txt 2010-05-17 21:43:55 UTC (rev 112433)
+++ gocept.selenium/trunk/CHANGES.txt 2010-05-18 08:35:21 UTC (rev 112434)
@@ -4,7 +4,7 @@
0.4.2 (unreleased)
------------------
-- Nothing changed yet.
+- API expansion: ``*keyDown``, ``*keyUp``, ``keyPress``.
0.4.1 (2010-04-01)
Modified: gocept.selenium/trunk/src/gocept/selenium/selenese.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-05-17 21:43:55 UTC (rev 112433)
+++ gocept.selenium/trunk/src/gocept/selenium/selenese.py 2010-05-18 08:35:21 UTC (rev 112434)
@@ -1,6 +1,6 @@
#############################################################################
#
-# Copyright (c) 2009 Zope Foundation and Contributors.
+# Copyright (c) 2009-2010 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -82,6 +82,14 @@
self.selenium.do_command("open", [url, ignoreResponseCode])
@passthrough
+ def altKeyDown(self):
+ pass
+
+ @passthrough
+ def altKeyUp(self):
+ pass
+
+ @passthrough
def close(self):
self.selenium.deselectPopUp()
pass
@@ -123,10 +131,38 @@
pass
@passthrough
+ def controlKeyDown(self):
+ pass
+
+ @passthrough
+ def controlKeyUp(self):
+ pass
+
+ @passthrough
def fireEvent(self, locator, eventName):
pass
@passthrough
+ def keyDown(self, locator, keySequence):
+ pass
+
+ @passthrough
+ def keyPress(self, locator, keySequence):
+ pass
+
+ @passthrough
+ def keyUp(self, locator, keySequence):
+ pass
+
+ @passthrough
+ def metaKeyDown(self):
+ pass
+
+ @passthrough
+ def metaKeyUp(self):
+ pass
+
+ @passthrough
def mouseDownAt(self, locator, coord):
pass
@@ -163,6 +199,14 @@
pass
@passthrough
+ def shiftKeyDown(self):
+ pass
+
+ @passthrough
+ def shiftKeyUp(self):
+ pass
+
+ @passthrough
def type(self):
pass
More information about the checkins
mailing list