Skip to content

Instantly share code, notes, and snippets.

When Clouds of pain loom in the sky
When a shadow of sadness flickers by
When a tear finds its way to the Eye
When fear keeps the loneliness alive
i try and console my heart
Why is it that you cry ? i asked
This is only what life imparts
These deep silences within
Have been handled out to all by time
Index: NextSteps.wiki
===================================================================
--- NextSteps.wiki (revision 13845)
+++ NextSteps.wiki (working copy)
@@ -83,8 +83,8 @@
WebElement select = driver.findElement(By.xpath("//select"));
List<WebElement> allOptions = select.findElements(By.tagName("option"));
for (WebElement option : allOptions) {
- System.out.println(String.format("Value is: %s", option.getValue()));
- option.setSelected();
Index: Rakefile
===================================================================
--- Rakefile (revision 13855)
+++ Rakefile (working copy)
@@ -298,6 +298,18 @@
sdks.add 'third_party/gecko-6/win32',
'http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/6.0/sdk/xulrunner-6.0.en-US.win32.sdk.zip',
'66e4cee9e36b1785266e6567727d686e'
+
+ sdks.add 'third_party/gecko-6.0.2/linux',
NIO 47
IO 31
NIO 32
IO 31
NIO 47
IO 32
NIO 31
Index: HttpCommandProcessor.java
===================================================================
--- HttpCommandProcessor.java (revision 13906)
+++ HttpCommandProcessor.java (working copy)
@@ -326,7 +326,7 @@
}
if (n instanceof Long && n.intValue() == n.longValue()) {
// SRC-315 we should return Integers if possible
- return new Integer(n.intValue());
+ return Integer.valueOf(n.intValue());
@Rule public ExpectedException thrown = ExpectedException.none();
public void testTextInputShouldNotClearWhenReadOnly() {
driver.get(pages.readOnlyPage);
thrown.expect(InvalidElementStateException.class);
WebElement element = driver.findElement(By.id("readOnlyTextInput"));
element.clear();
}
+
+ sdks.add 'third_party/gecko-7/linux',
+ 'http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/7.0/sdk/xulrunner-7.0.en-US.linux-i686.sdk.tar.bz2',
+ '0ac12a7551b187af914e760307488945'
+
+ sdks.add 'third_party/gecko-7/linux64',
+ 'http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/7.0/sdk/xulrunner-7.0.en-US.linux-x86_64.sdk.tar.bz2',
+ 'b96e9272f7d5114d4c468b4708594efa'
+
+ sdks.add 'third_party/gecko-7/mac',
Index: android.rb
===================================================================
--- android.rb (revision 13960)
+++ android.rb (working copy)
@@ -77,11 +77,11 @@
$properties = $sys_properties.read_properties()
$sdk_path = $properties["androidsdkpath"]
$platform = $properties["androidplatform"]
- $adb = Platform.path_for(File.join($sdk_path, "platform-tools", "adb"))
+ $adb = Platform.path_for(File.join($sdk_path, "platform-tools", "adb.exe"))
1>------ Build started: Project: webdriver-firefox-7, Configuration: Debug Win32 ------
1> native_events.cpp
1>c:\sel2auth\cpp\webdriver-firefox\native_events.cpp(7): fatal error C1083: Cannot open include file: 'mozilla-config.h': No such file or directory
1> library_loading.cpp
1>c:\sel2auth\cpp\webdriver-interactions\stdafx.h(50): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Index: build.desc
===================================================================
--- build.desc (revision 13999)
+++ build.desc (working copy)
@@ -19,6 +19,13 @@
out = "Win32/Release/webdriver-firefox-6.dll"
)
+visualc_library(name = "firefox7_dll",
+ platform = "Win32",