Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
f4b4019
Supressing warnings when building Firefox native components on Windows.
jimevans Feb 21, 2013
378ecaf
Disabling builds for newly created Firefox C++ projects on unsupporte…
jimevans Feb 21, 2013
e251cc1
Allow extraction of IEDriverServer components to custom directory in …
jimevans Feb 21, 2013
12dc0ea
Making .NET alerts tests more robust
jimevans Feb 21, 2013
9b8edf4
Corrected spelling of exception. Only instance in the java code.
Feb 21, 2013
3b9255b
Hacking around the case where McAfee SiteAdvisor is installed as a pl…
jimevans Feb 21, 2013
d0a7263
Changing response code after session creation from 302 to 303, as stated
barancev Feb 21, 2013
b7433bb
Replacing sleeps with waits to make grid tests more robust.
barancev Feb 21, 2013
00b8304
small changelog update
santiycr Feb 21, 2013
9ba7955
Add a null check.
jleyba Feb 22, 2013
b7e5553
Introducing bot.dom.isInParentOverflow atom
jimevans Feb 22, 2013
bf7d400
Simplifying element scroll calculation code by using the new isInPare…
jimevans Feb 22, 2013
ef61080
Updating .NET IE test for scroll overflow
jimevans Feb 22, 2013
8ddd27d
Block ability to set FileDetector for browser-specific drivers in .NET.
jimevans Feb 22, 2013
8ff1891
Removing commented and unused code.
jimevans Feb 22, 2013
5006bb1
Adding a new test, ignored until we decide on semantics of submit method
barancev Feb 23, 2013
e6c9551
Adding a new test for performing some actions in a frame that was
barancev Feb 23, 2013
cf8f1b3
Introducing additional constants in BrowserType, and replacing literal
barancev Feb 23, 2013
079ad2c
Adding BrowserType class to the maven artifact "selenium-api"
barancev Feb 23, 2013
07abca6
Replacing deprecated Closeables.closeQuitely method with our own
barancev Feb 23, 2013
127a74f
Fixing compilation errors. Hint to myself: don't rely on IDE, always …
barancev Feb 23, 2013
50e2301
Fixing imports to use our own IOUtils, not the one from commons-io
barancev Feb 23, 2013
0110842
Giving ourselves some time with the firefox extension by bumping the …
shs96c Feb 23, 2013
1122e4a
Unignoring a test that passed in HtmlUnit
barancev Feb 23, 2013
5578c07
Implementing clear for content editable blocks in HtmlUnit driver
barancev Feb 23, 2013
85532d0
Implementing ability to obtain window.location object from HtmlUnitDr…
barancev Feb 23, 2013
859d616
Unignoring more passing tests for HtmlUnitDriver
barancev Feb 23, 2013
82f8797
Move some files around.
jleyba Feb 21, 2013
bf05523
Use markdown for changelog
jleyba Feb 24, 2013
7026776
WebElements should belong to the same flow as their parent driver.
jleyba Feb 24, 2013
2ed110f
Making resource closing less quitely to avoid losing potentially rele…
barancev Feb 24, 2013
e66fb15
To get responce header one should use getHeaderField, not
barancev Feb 24, 2013
90a5d6e
Try to reduce the number of promises we need to create for flow state…
jleyba Feb 25, 2013
3581b80
Escape namespace qualifiers when computing CSS selectors.
jleyba Feb 25, 2013
6da50a4
Fixing issues found via static code analysis for IE driver. No functi…
jimevans Feb 25, 2013
a172d2f
updating linux ff prebuilts
lukeis Feb 25, 2013
927e7b2
Adding a new test: clicks on an image map
barancev Feb 25, 2013
5a07cfd
Back out part of revision 90a5d6e4f215. In hindsight, this
jleyba Feb 25, 2013
4464374
Unignoring a test that passed locally in IE9 and Chrome
barancev Feb 25, 2013
f61d05c
Fixing isShown: zero-size element should be invisible if it contains a
barancev Feb 25, 2013
0d43cd8
Revert "Fixing isShown: zero-size element should be invisible if it c…
barancev Feb 25, 2013
170df88
Reintroduce the custom forEach implementation for older versions of I…
jleyba Feb 25, 2013
b2b8581
Fixing initialization of variable in IE driver
jimevans Feb 25, 2013
5311c6d
Correcting Firefox latest ESR native code build on Windows
jimevans Feb 25, 2013
a5764c1
Updating IE prebuilts to include static code analysis changes
jimevans Feb 25, 2013
da44032
Switch to using util Date instead of sql Date in the LogEntry
shs96c Feb 25, 2013
f297139
SimpleDateFormat instances are not thread safe.
shs96c Feb 25, 2013
2daf12f
Removing dependency on JSON library from core webdriver interfaces.
shs96c Feb 25, 2013
84b91fd
Remove JSON dependency from the Command, as it's only used in the toS…
shs96c Feb 26, 2013
3e11bc2
Extract the core API for implementing a remote webdriver command exec…
shs96c Feb 26, 2013
21d4ba9
Adding a dependency on the new remote api artefact
barancev Feb 26, 2013
f50c224
Adding dependency on remote api artefact to the ant build file too
barancev Feb 26, 2013
b10baac
Fixing the copied library name to avoid conflicts
barancev Feb 26, 2013
5a0284c
Implementing imagemap support in Firefox driver
barancev Feb 26, 2013
2a92e88
Default log level if it's missing.
shs96c Feb 26, 2013
1d6c431
Creating DOCTYPE declaration for javascriptPage.html
jimevans Feb 26, 2013
b2f07a5
Bring python implementation of web element equality in conformance with
barancev Feb 26, 2013
5b1a664
Making it possible to extend the list of commands that the httpcomman…
shs96c Feb 26, 2013
4fff2dc
Make the CommandInfo's constructor public
shs96c Feb 26, 2013
88f62ce
A little cleanup of Selenium IDE Webdriver playback
samitbadle Feb 27, 2013
08945d8
Sometimes the depth plunges precipitously past 0. Check for us being …
shs96c Feb 27, 2013
ebaa743
If the temporary file system hasn't been set on the session, an NPE s…
shs96c Feb 27, 2013
044ce55
Remove loging statements used for printf debugging.
shs96c Feb 27, 2013
417d643
Update OperaDriver to version 1.2
Feb 27, 2013
a2f955b
fixup! Update OperaDriver to version 1.2
Feb 27, 2013
930ad8d
Adding debug output to debug logging tests on sauce
barancev Feb 27, 2013
3a511f1
Fixing broken remote logs fetching: reverting back toJson method in
barancev Feb 27, 2013
27bb0d8
No logical changes: code reformatting.
shs96c Feb 27, 2013
bf0a3c4
Using guava where it makes sense. No logical changes.
shs96c Feb 27, 2013
22e1240
Updating guava to 14.0 final
shs96c Feb 27, 2013
abce4a6
Updating the prebuilt android apk to use the new guava version.
shs96c Feb 27, 2013
aa049ca
Introducing "browserAttachTimeout" capability to IEDriverServer.exe.
jimevans Feb 27, 2013
f33a00d
Introducing new IE attachBrowserTimeout capability to .NET bindings.
jimevans Feb 27, 2013
5510240
removing javascript/deps.js DIE LINE ENDINGS! DIE!!
lukeis Feb 27, 2013
106888e
Corrected spelling of exception. Only instance in the java code.
Feb 21, 2013
c07320d
Merge branch 'master' of github.com:intchanter/selenium
Feb 27, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android/server/bin/
cpp/IEDriver/IEReturnTypes.h
java/org/openqa/selenium/ie/IeReturnTypes.java
java/client/src/org/openqa/selenium/ie/IeReturnTypes.java
javascript/deps.js
.idea/vcs.xml
.idea/misc.xml
.idea/workspace.xml
Expand Down
4 changes: 2 additions & 2 deletions .idea/libraries/guava_libraries.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .idea/libraries/operadriver.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions WebDriver.sln
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Global
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Debug|Win32.ActiveCfg = Debug|Win32
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Debug|Win32.Build.0 = Debug|Win32
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Debug|x64.ActiveCfg = Debug|x64
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Release|.NET.ActiveCfg = Release|Win32
{A9D3BB2D-FD1E-43A2-80F6-F8320682323E}.Release|Any CPU.ActiveCfg = Release|Win32
Expand Down Expand Up @@ -467,33 +466,27 @@ Global
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Debug|Mixed Platforms.Build.0 = Debug|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Debug|Win32.ActiveCfg = Debug|Win32
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Debug|Win32.Build.0 = Debug|Win32
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Debug|x64.ActiveCfg = Debug|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Debug|x64.Build.0 = Debug|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|.NET.ActiveCfg = Release|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|Any CPU.ActiveCfg = Release|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|Mixed Platforms.ActiveCfg = Release|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|Mixed Platforms.Build.0 = Release|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|Win32.ActiveCfg = Release|Win32
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|Win32.Build.0 = Release|Win32
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|x64.ActiveCfg = Release|x64
{D137A27D-8324-4024-97FC-D2D29E3EFE60}.Release|x64.Build.0 = Release|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|.NET.ActiveCfg = Debug|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|Any CPU.ActiveCfg = Debug|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|Mixed Platforms.Build.0 = Debug|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|Win32.ActiveCfg = Debug|Win32
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|Win32.Build.0 = Debug|Win32
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|x64.ActiveCfg = Debug|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Debug|x64.Build.0 = Debug|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|.NET.ActiveCfg = Release|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|Any CPU.ActiveCfg = Release|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|Mixed Platforms.ActiveCfg = Release|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|Mixed Platforms.Build.0 = Release|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|Win32.ActiveCfg = Release|Win32
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|Win32.Build.0 = Release|Win32
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|x64.ActiveCfg = Release|x64
{15097CC6-2D02-450E-93CF-3F4822EE64E7}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion android/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<classpathentry kind="lib" path="/third-party/java/android/android-14.jar"/>
<classpathentry kind="lib" path="/third-party/java/servlet-api/servlet-api-2.5-6.1.9.jar" sourcepath="/third-party/java/servlet-api/servlet-api-2.5-6.1.9-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/webbit/webbit-0.4.14.jar" sourcepath="/third-party/java/webbit/webbit-0.4.14-src.jar"/>
<classpathentry kind="lib" path="/third-party/java/guava-libraries/guava-14.0-rc1.jar" sourcepath="/third-party/java/guava-libraries/guava-14.0-rc1-sources.jar"/>
<classpathentry kind="lib" path="/third-party/java/guava-libraries/guava-14.0.jar" sourcepath="/third-party/java/guava-libraries/guava-14.0-sources.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
1 change: 1 addition & 0 deletions android/build.desc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ java_library(name = "server",
deps = [
"//java/client/src/org/openqa/selenium/android:android_library",
"//java/client/src/org/openqa/selenium/browserlaunchers:proxies",
"//java/client/src/org/openqa/selenium/remote:api",
"//java/client/src/org/openqa/selenium/remote:base",
"//java/client/src/org/openqa/selenium/remote:common",
"//java/client/src/org/openqa/selenium/remote:remote",
Expand Down
5 changes: 3 additions & 2 deletions android/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,20 @@
<copy file="${build.location}/java/client/src/org/openqa/selenium/base.jar" tofile="libs/base.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/codecs.jar" tofile="libs/codecs.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/webdriver-api.jar" tofile="libs/webdriver-api.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/remote/api.jar" tofile="libs/webdriver-remote-api.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/remote/base.jar" tofile="libs/webdriver-base.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/remote/common.jar" tofile="libs/webdriver-common.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/remote/remote.jar" tofile="libs/webdriver-client-remote.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/browserlaunchers/proxies.jar" tofile="libs/proxies.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/support/events/events.jar" tofile="libs/events.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/logging/logging.jar" tofile="libs/logging.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/interactions/interactions.jar" tofile="libs/interactions.jar" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/interactions/interactions.jar" tofile="libs/interactions.jar" />
<copy file="${build.location}/java/server/src/org/openqa/selenium/remote/server/resource/resource.jar" tofile="libs/remote-wdserver-resource.jar" />
<copy file="${build.location}/java/server/src/org/openqa/selenium/remote/server/server_very_core.jar" tofile="libs/remote-wdserver-verycore.jar" />
<copy file="${build.location}/java/server/src/org/openqa/selenium/remote/server/server_core.jar" tofile="libs/remote-wdserver.jar" />
<copy file="${build.location}/java/server/src/org/openqa/selenium/server/logging.jar" tofile="libs/remote-logging.jar" />
<copy file="${build.location}/third_party/java/webbit/webbit-standalone.jar" tofile="libs/webbit-server.jar" />
<copy file="${third_party.location}/java/guava-libraries/guava-14.0-rc1.jar" todir="libs/" />
<copy file="${third_party.location}/java/guava-libraries/guava-14.0.jar" todir="libs/" />
<copy file="${third_party.location}/java/json/json-20080701.jar" todir="libs/" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/android/android_library.jar" todir="libs" />
<copy file="${build.location}/java/client/src/org/openqa/selenium/io/io.jar" todir="libs" />
Expand Down
Binary file modified android/prebuilt/android-server.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

import android.os.Build;

import org.openqa.selenium.Platform;
import org.openqa.selenium.remote.BrowserType;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.server.Session;
import org.openqa.selenium.remote.server.handler.GetSessionCapabilities;
Expand All @@ -41,9 +43,9 @@ protected Map<String, Object> describeSession(Map<String, Object> capabilities)
Map<String, Object> caps = Maps.newHashMap();
caps.putAll(capabilities);
caps.put(CapabilityType.TAKES_SCREENSHOT, true);
caps.put(CapabilityType.BROWSER_NAME, "android");
caps.put(CapabilityType.BROWSER_NAME, BrowserType.ANDROID);
caps.put(CapabilityType.ROTATABLE, true);
caps.put(CapabilityType.PLATFORM, "android");
caps.put(CapabilityType.PLATFORM, Platform.ANDROID);
caps.put(CapabilityType.SUPPORTS_ALERTS, true);
caps.put(CapabilityType.SUPPORTS_JAVASCRIPT, true);
caps.put(CapabilityType.VERSION, Build.VERSION.SDK);
Expand Down
15 changes: 15 additions & 0 deletions common/src/web/click_tests/google_map.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Google Image Map</title>
</head>
<body>
<h1>Google Image Map</h1>
<img id="google_logo" src="google_map.png" usemap="#google_map" border="0" width="364" height="126"/>
<map id="google_map" name="google_map">
<area id="rectG" shape="rect" coords="0,0,90,100" href="mapped_page1.html" alt="area 1"/>
<area id="circleO" shape="circle" coords="120,60,30" href="mapped_page2.html" alt="area 2"/>
<area id="polyLE" shape="poly" coords="280,0,310,0,360,30,360,90,280,90" href="mapped_page3.html" alt="area 3"/>
</map>
</body>
</html>
Binary file added common/src/web/click_tests/google_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions common/src/web/click_tests/mapped_page1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Target Page 1</title>
</head>
<body>
<div>Target Page 1</div>
</body>
</html>
9 changes: 9 additions & 0 deletions common/src/web/click_tests/mapped_page2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Target Page 2</title>
</head>
<body>
<div>Target Page 2</div>
</body>
</html>
9 changes: 9 additions & 0 deletions common/src/web/click_tests/mapped_page3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Target Page 3</title>
</head>
<body>
<div>Target Page 3</div>
</body>
</html>
9 changes: 5 additions & 4 deletions common/src/web/javascriptPage.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Testing Javascript</title>
<script type="text/javascript">
var seen = {};

function updateContent(input) {
document.getElementById('result').innerHTML = "<p>" + input.value + "</p>";
document.getElementById('resultParagraph').innerHTML = input.value;
}

function displayMessage(message) {
document.getElementById('result').innerHTML = "<p>" + message + "</p>";
document.getElementById('resultParagraph').innerHTML = message;
}

function appendMessage(message) {
document.getElementById('result').innerHTML += message + " ";
document.getElementById('resultParagraph').innerHTML += message + " ";
}

function register(message) {
Expand Down Expand Up @@ -81,7 +82,7 @@ <h1>Type Stuff</h1>

<div id="resultContainer" height="30">&nbsp;
<div id="result" style="width:300;height:60">
<p>&nbsp;</p>
<p id="resultParagraph">&nbsp;</p>
</div>

</div>
Expand Down
1 change: 1 addition & 0 deletions common/src/web/scroll.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
document.getElementById('clicked').innerHTML = elt.innerHTML;
}
</script>
<div style='height: 150px'></div>
<ul style='overflow: scroll; width: 150px; height: 80px; background-color: yellow' onclick="dump(event)">
<li id='line1'>line1</li>
<li id='line2'>line2</li>
Expand Down
8 changes: 6 additions & 2 deletions cpp/IEDriver/Browser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ unsigned int WINAPI Browser::GoBackThreadProc(LPVOID param) {
hr = ::CoGetInterfaceAndReleaseStream(message_payload,
IID_IWebBrowser2,
reinterpret_cast<void**>(&browser));
hr = browser->GoBack();
if (browser != NULL) {
hr = browser->GoBack();
}
return 0;
}

Expand Down Expand Up @@ -338,7 +340,9 @@ unsigned int WINAPI Browser::GoForwardThreadProc(LPVOID param) {
hr = ::CoGetInterfaceAndReleaseStream(message_payload,
IID_IWebBrowser2,
reinterpret_cast<void**>(&browser));
hr = browser->GoForward();
if (browser != NULL) {
hr = browser->GoForward();
}
return 0;
}

Expand Down
Loading