celerity 0.7.7 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc
CHANGED
|
@@ -64,7 +64,7 @@ The source code is available on [GitHub](http://github.com/jarib/celerity/tree/m
|
|
|
64
64
|
== License
|
|
65
65
|
|
|
66
66
|
Celerity - JRuby wrapper for HtmlUnit
|
|
67
|
-
Copyright (c) 2008-
|
|
67
|
+
Copyright (c) 2008-2010 FINN.no AS
|
|
68
68
|
|
|
69
69
|
This program is free software: you can redistribute it and/or modify
|
|
70
70
|
it under the terms of the GNU General Public License as published by
|
data/VERSION.yml
CHANGED
data/celerity.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{celerity}
|
|
8
|
-
s.version = "0.7.
|
|
8
|
+
s.version = "0.7.8"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jari Bakken", "T. Alexander Lystad", "Knut Johannes Dahle"]
|
|
12
|
-
s.date = %q{2010-01-
|
|
12
|
+
s.date = %q{2010-01-21}
|
|
13
13
|
s.description = %q{Celerity is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity provides a superset of Watir's API.}
|
|
14
14
|
s.email = %q{jari.bakken@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/celerity/element.rb
CHANGED
|
@@ -83,6 +83,17 @@ module Celerity
|
|
|
83
83
|
@object.focus
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
#
|
|
87
|
+
# Returns true if this element is the currently focused element
|
|
88
|
+
#
|
|
89
|
+
# Celerity-specific.
|
|
90
|
+
#
|
|
91
|
+
|
|
92
|
+
def focused?
|
|
93
|
+
assert_exists
|
|
94
|
+
@object == browser.page.getFocusedElement
|
|
95
|
+
end
|
|
96
|
+
|
|
86
97
|
#
|
|
87
98
|
# Fires the given event for this element
|
|
88
99
|
#
|
|
Binary file
|
|
Binary file
|
data/lib/celerity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: celerity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jari Bakken
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2010-01-
|
|
14
|
+
date: 2010-01-21 00:00:00 +01:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|