diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-05 01:11:28 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-05 01:11:28 +0000 |
commit | 0c61abfa12624ed5359acd2957b9bed3a839b44d (patch) | |
tree | 85f196682ab6627309dd7892c6c8e471e8868124 /third_party/webdriver/test_data/alerts.html | |
parent | 434f98fe56928cc05a15d9ff9678d81b26812cf3 (diff) | |
download | chromium_src-0c61abfa12624ed5359acd2957b9bed3a839b44d.zip chromium_src-0c61abfa12624ed5359acd2957b9bed3a839b44d.tar.gz chromium_src-0c61abfa12624ed5359acd2957b9bed3a839b44d.tar.bz2 |
Manually add necessary test data for webdriver python tests.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6250071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/webdriver/test_data/alerts.html')
-rw-r--r-- | third_party/webdriver/test_data/alerts.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/webdriver/test_data/alerts.html b/third_party/webdriver/test_data/alerts.html new file mode 100644 index 0000000..1ecb6e4 --- /dev/null +++ b/third_party/webdriver/test_data/alerts.html @@ -0,0 +1,26 @@ +<html> +<head> + <title>Testing Alerts</title> + + <script type="text/javascript"> + function displayPrompt() { + var res = prompt("Enter something"); + document.getElementById('text').innerHTML = "<p>" + res + "</p>"; + } + </script> +</head> +<body> + +<h1>Testing Alerts and Stuff</h1> + +<div id="text"></div> + +<p>This tests alerts: <a href="#" id="alert" onclick="alert('cheese');">click me</a></p> + +<p>Let's make the <a href="#" id="prompt" onclick="displayPrompt();">prompt happen</a></p> + +<p>This is a test of a confirm: + <a href="simpleTest.html" id="confirm" onclick="return confirm('Are you sure?');">test confirm</a></p> + +</body> +</html>
\ No newline at end of file |