Commit 737b4c96 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2009-02-03 Kazuhiko

* define getAbsoluteLocation() in user-extensions.js for compatible with Zelenium based of Selenium 0.8 or later.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25437 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b06acdc
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_EtagSupport__etag</string> </key> <key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts22862605.97</string> </value> <value> <string>ts33693326.63</string> </value>
</item> </item>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
...@@ -81,6 +81,13 @@ Selenium.prototype.doType = function(locator, newText) {\n ...@@ -81,6 +81,13 @@ Selenium.prototype.doType = function(locator, newText) {\n
this.page().replaceText(element, newText);\n this.page().replaceText(element, newText);\n
};\n };\n
\n \n
/*\n
* Get the location of the current page. This function is missing in\n
* Selenium 0.8 or later.\n
*/\n
Selenium.prototype.getAbsoluteLocation = function() {\n
return this.page().location || this.browserbot.getCurrentWindow().location;\n
};\n
]]></string> </value> ]]></string> </value>
...@@ -91,7 +98,7 @@ Selenium.prototype.doType = function(locator, newText) {\n ...@@ -91,7 +98,7 @@ Selenium.prototype.doType = function(locator, newText) {\n
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>1917</int> </value> <value> <int>2156</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
2009-02-03 Kazuhiko
* define getAbsoluteLocation() in user-extensions.js for compatible with Zelenium based of Selenium 0.8 or later.
2008-10-01 fabien 2008-10-01 fabien
* initial version * initial version
\ No newline at end of file
4 5
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment