Skip to content

Instantly share code, notes, and snippets.

package org.openqa.selenium;
import static org.openqa.selenium.Ignore.Driver.OPERA;
@Ignore(OPERA)
public class ClearTest extends AbstractDriverTestCase {
public void testWritableTextInputShouldClear() {
driver.get(pages.readOnlyPage);
WebElement element = driver.findElement(By.id("writableTextInput"));
Index: RemoteWebElement.java
===================================================================
--- RemoteWebElement.java (revision 13749)
+++ RemoteWebElement.java (working copy)
@@ -38,7 +38,6 @@
import java.util.List;
import java.util.Map;
-
public class RemoteWebElement implements WebElement, FindsByLinkText, FindsById, FindsByName,
@ajayk
ajayk / gist:1205793
Created September 9, 2011 08:52
Python version
C:\Documents and Settings\ajk>python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# c:\python26\lib\site.pyc matches c:\python26\lib\site.py
import site # precompiled from c:\python26\lib\site.pyc
# c:\python26\lib\os.pyc matches c:\python26\lib\os.py
import os # precompiled from c:\python26\lib\os.pyc
import errno # builtin
import nt # builtin
Index: android.rb
===================================================================
--- android.rb (revision 13816)
+++ 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"))
Index: android.rb
===================================================================
--- android.rb (revision 13816)
+++ 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"))
Testsuite: org.openqa.selenium.android.AndroidDriverTestSuite
Tests run: 386, Failures: 0, Errors: 1, Time elapsed: 1,512.578 sec
------------- Standard Output ---------------
Making dirs for path C:\DOCUME~1\ajk\LOCALS~1\Temp\LauncherUtilsUnitTest361099340559259884dir\src-dir (assuming path has not already been created)
Making dirs for path C:\DOCUME~1\ajk\LOCALS~1\Temp\LauncherUtilsUnitTest2597230529379230877dir\dest-dir (assuming path has not already been created)
Skipping test: unable to find domain name to use
Skipping test: unable to find domain name to use
Skipping test: unable to find domain name to use
Skipping test: unable to find domain name to use
Skipping test: unable to find domain name to use
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