vapir-common 1.7.0.rc1
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/History.txt +5 -0
- data/README.txt +11 -0
- data/lib/vapir/common.rb +1 -0
- data/lib/vapir-common/browser.rb +184 -0
- data/lib/vapir-common/browsers.rb +9 -0
- data/lib/vapir-common/container.rb +163 -0
- data/lib/vapir-common/element.rb +1078 -0
- data/lib/vapir-common/element_collection.rb +83 -0
- data/lib/vapir-common/elements/elements.rb +858 -0
- data/lib/vapir-common/elements.rb +2 -0
- data/lib/vapir-common/exceptions.rb +56 -0
- data/lib/vapir-common/handle_options.rb +15 -0
- data/lib/vapir-common/modal_dialog.rb +27 -0
- data/lib/vapir-common/options.rb +49 -0
- data/lib/vapir-common/specifier.rb +322 -0
- data/lib/vapir-common/testcase.rb +89 -0
- data/lib/vapir-common/waiter.rb +141 -0
- data/lib/vapir-common/win_window.rb +1227 -0
- data/lib/vapir-common.rb +7 -0
- data/lib/vapir.rb +1 -0
- data/lib/watir-vapir.rb +15 -0
- metadata +89 -0
data/lib/vapir-common.rb
ADDED
data/lib/vapir.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'vapir-common'
|
data/lib/watir-vapir.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'vapir'
|
2
|
+
if Object.const_defined?('Watir')
|
3
|
+
if Watir != Vapir
|
4
|
+
raise "Watir is already defined! Cannot load Vapir in its place."
|
5
|
+
end
|
6
|
+
else
|
7
|
+
Watir=Vapir
|
8
|
+
end
|
9
|
+
if Object.const_defined?('FireWatir')
|
10
|
+
if FireWatir != Vapir
|
11
|
+
raise "FireWatir is already defined! Cannot load Vapir in its place."
|
12
|
+
end
|
13
|
+
else
|
14
|
+
FireWatir=Vapir
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vapir-common
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.7.0.rc1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ethan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-04-30 00:00:00 -04:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: user-choices
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
description: " Vapir Common is a library containing common code shared among browser-specific\n Vapir implementations which programatically drive the web browsers,\n exposing a simple-to-use and powerful API to make automated testing a \n simple and joyous affair. \n Forked from the Watir library. \n"
|
26
|
+
email: vapir@googlegroups.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files: []
|
32
|
+
|
33
|
+
files:
|
34
|
+
- History.txt
|
35
|
+
- README.txt
|
36
|
+
- lib/vapir-common.rb
|
37
|
+
- lib/vapir/common.rb
|
38
|
+
- lib/vapir.rb
|
39
|
+
- lib/watir-vapir.rb
|
40
|
+
- lib/vapir-common/browser.rb
|
41
|
+
- lib/vapir-common/browsers.rb
|
42
|
+
- lib/vapir-common/container.rb
|
43
|
+
- lib/vapir-common/modal_dialog.rb
|
44
|
+
- lib/vapir-common/specifier.rb
|
45
|
+
- lib/vapir-common/element.rb
|
46
|
+
- lib/vapir-common/elements/elements.rb
|
47
|
+
- lib/vapir-common/element_collection.rb
|
48
|
+
- lib/vapir-common/elements.rb
|
49
|
+
- lib/vapir-common/exceptions.rb
|
50
|
+
- lib/vapir-common/handle_options.rb
|
51
|
+
- lib/vapir-common/options.rb
|
52
|
+
- lib/vapir-common/testcase.rb
|
53
|
+
- lib/vapir-common/waiter.rb
|
54
|
+
- lib/vapir-common/win_window.rb
|
55
|
+
has_rdoc: true
|
56
|
+
homepage: http://www.vapir.org/
|
57
|
+
licenses: []
|
58
|
+
|
59
|
+
post_install_message:
|
60
|
+
rdoc_options:
|
61
|
+
- --title
|
62
|
+
- Vapir-Common
|
63
|
+
- --accessor
|
64
|
+
- dom_attr=R
|
65
|
+
- --main
|
66
|
+
- Vapir::Browser
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
|
+
version:
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 1.3.1
|
80
|
+
version:
|
81
|
+
requirements: []
|
82
|
+
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 1.3.5
|
85
|
+
signing_key:
|
86
|
+
specification_version: 3
|
87
|
+
summary: Common basis for Vapir libraries for automating web browsers in Ruby
|
88
|
+
test_files: []
|
89
|
+
|