async-webdriver 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bb124e522f9bb2e4f525b56b1f2633a396844c1ec033de92bcb863ba5a202d76
4
+ data.tar.gz: d4d70538d5ce3e4c41883be74169c71dcfda403f1e3e24c28cc9ca28d2614509
5
+ SHA512:
6
+ metadata.gz: 329f215f5e863a1a8b01a12bf5595e5603ebd7754779ec386ba11bff7b7afd537ac5e57d73cf10c08cc760b11d1455b1344e4d34024b2ee6075a6fc8ec75d59a
7
+ data.tar.gz: 848396d5cf080dc1e07fcb83368263463aab0dc4151b6fee5b683408d865b14422aad77e46c5132eeeca3ab5e1d436f48f05229c5cd4ff04390e11ed1380a098
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ async-webdriver
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.0
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.3
7
+ before_install: gem install bundler -v 1.16.6
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in async-webdriver.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,103 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ async-webdriver (0.1.0)
5
+ async-http
6
+ selenium-webdriver
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ async (1.12.0)
12
+ nio4r (~> 2.3)
13
+ timers (~> 4.1)
14
+ async-http (0.37.7)
15
+ async (~> 1.6)
16
+ async-io (~> 1.16)
17
+ http-protocol (~> 0.10)
18
+ async-io (1.17.2)
19
+ async (~> 1.3)
20
+ async-rspec (1.12.0)
21
+ rspec (~> 3.0)
22
+ byebug (10.0.2)
23
+ childprocess (0.9.0)
24
+ ffi (~> 1.0, >= 1.0.11)
25
+ coderay (1.1.2)
26
+ diff-lcs (1.3)
27
+ ffi (1.9.25)
28
+ formatador (0.2.5)
29
+ guard (2.15.0)
30
+ formatador (>= 0.2.4)
31
+ listen (>= 2.7, < 4.0)
32
+ lumberjack (>= 1.0.12, < 2.0)
33
+ nenv (~> 0.1)
34
+ notiffany (~> 0.0)
35
+ pry (>= 0.9.12)
36
+ shellany (~> 0.0)
37
+ thor (>= 0.18.1)
38
+ guard-compat (1.2.1)
39
+ guard-rspec (4.7.3)
40
+ guard (~> 2.1)
41
+ guard-compat (~> 1.1)
42
+ rspec (>= 2.99.0, < 4.0)
43
+ http-hpack (0.1.1)
44
+ http-protocol (0.10.1)
45
+ http-hpack (~> 0.1.0)
46
+ listen (3.1.5)
47
+ rb-fsevent (~> 0.9, >= 0.9.4)
48
+ rb-inotify (~> 0.9, >= 0.9.7)
49
+ ruby_dep (~> 1.2)
50
+ lumberjack (1.0.13)
51
+ method_source (0.9.2)
52
+ nenv (0.3.0)
53
+ nio4r (2.3.1)
54
+ notiffany (0.1.1)
55
+ nenv (~> 0.1)
56
+ shellany (~> 0.0)
57
+ pry (0.12.2)
58
+ coderay (~> 1.1.0)
59
+ method_source (~> 0.9.0)
60
+ pry-byebug (3.6.0)
61
+ byebug (~> 10.0)
62
+ pry (~> 0.10)
63
+ rake (10.5.0)
64
+ rb-fsevent (0.10.3)
65
+ rb-inotify (0.10.0)
66
+ ffi (~> 1.0)
67
+ rspec (3.8.0)
68
+ rspec-core (~> 3.8.0)
69
+ rspec-expectations (~> 3.8.0)
70
+ rspec-mocks (~> 3.8.0)
71
+ rspec-core (3.8.0)
72
+ rspec-support (~> 3.8.0)
73
+ rspec-expectations (3.8.2)
74
+ diff-lcs (>= 1.2.0, < 2.0)
75
+ rspec-support (~> 3.8.0)
76
+ rspec-mocks (3.8.0)
77
+ diff-lcs (>= 1.2.0, < 2.0)
78
+ rspec-support (~> 3.8.0)
79
+ rspec-support (3.8.0)
80
+ ruby_dep (1.5.0)
81
+ rubyzip (1.2.2)
82
+ selenium-webdriver (3.141.0)
83
+ childprocess (~> 0.5)
84
+ rubyzip (~> 1.2, >= 1.2.2)
85
+ shellany (0.0.1)
86
+ thor (0.20.3)
87
+ timers (4.2.0)
88
+
89
+ PLATFORMS
90
+ ruby
91
+
92
+ DEPENDENCIES
93
+ async-rspec
94
+ async-webdriver!
95
+ bundler (~> 1.16)
96
+ guard
97
+ guard-rspec
98
+ pry-byebug
99
+ rake (~> 10.0)
100
+ rspec (~> 3.0)
101
+
102
+ BUNDLED WITH
103
+ 1.17.2
data/Guardfile ADDED
@@ -0,0 +1,45 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Note: The cmd option is now required due to the increasing number of ways
19
+ # rspec may be run, below are examples of the most common uses.
20
+ # * bundler: 'bundle exec rspec'
21
+ # * bundler binstubs: 'bin/rspec'
22
+ # * spring: 'bin/rspec' (This will use spring if running and you have
23
+ # installed the spring binstubs per the docs)
24
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
25
+ # * 'just' rspec: 'rspec'
26
+
27
+ guard :rspec, cmd: "bundle exec rspec" do
28
+ require "guard/rspec/dsl"
29
+ dsl = Guard::RSpec::Dsl.new(self)
30
+
31
+ # Feel free to open issues for suggestions and improvements
32
+
33
+ # RSpec files
34
+ rspec = dsl.rspec
35
+ watch(rspec.spec_helper) { rspec.spec_dir }
36
+ watch(rspec.spec_support) { rspec.spec_dir }
37
+ watch(rspec.spec_files)
38
+
39
+ # Ruby files
40
+ ruby = dsl.ruby
41
+ dsl.watch_spec_files_for(ruby.lib_files)
42
+
43
+ watch(/.+\.rb$/) { |m| puts m }
44
+ watch(/.+\.rb$/) { "spec" }
45
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Matti Paksula
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Async::Webdriver
2
+
3
+ run `bundle exec ruby examples/two_sessions.rb`
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,37 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "async/webdriver/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "async-webdriver"
8
+ spec.version = Async::Webdriver::VERSION
9
+ spec.authors = ["Matti Paksula"]
10
+ spec.email = ["matti.paksula@iki.fi"]
11
+
12
+ spec.summary = "async-webdriver"
13
+ spec.homepage = "https://github.com/matti/async-webdriver"
14
+ spec.license = "MIT"
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_runtime_dependency "async-http"
26
+ spec.add_runtime_dependency "selenium-webdriver"
27
+
28
+ spec.add_development_dependency "bundler", "~> 1.16"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rspec", "~> 3.0"
31
+
32
+ spec.add_development_dependency "guard"
33
+ spec.add_development_dependency "guard-rspec"
34
+ spec.add_development_dependency "async-rspec"
35
+ spec.add_development_dependency "pry-byebug"
36
+
37
+ end
data/bin/console ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "async/webdriver"
5
+
6
+ client = Async::Webdriver::Client.new endpoint: "http://localhost:9515"
7
+
8
+ require "pry"
9
+ Pry.config.pager = false
10
+
11
+ eval ARGV.join(" ") if ARGV.any?
12
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,29 @@
1
+ require "async/webdriver"
2
+
3
+ client = Async::Webdriver::Client.new endpoint: "http://localhost:9515"
4
+
5
+ # before starting ensure no "window is closed" sessions are left behind in the chromedriver
6
+ # this is because we use .first and .last in this example later on
7
+ for s in client.sessions do
8
+ s.delete!
9
+ end
10
+
11
+ example_com_session = client.session.create!
12
+ example_com_session.navigate! "http://www.example.com"
13
+
14
+ time_is_session = client.session.create!
15
+ time_is_session.navigate! "http://www.time.is"
16
+
17
+ # another way to acess example_com_session
18
+ client.sessions.first.navigate! "http://www.reddit.com"
19
+
20
+ # another way to acess time_is_session
21
+ client.sessions.last.navigate! "http://www.twitter.com"
22
+
23
+ # close print current urls and <title>s and close all
24
+ for s in client.sessions
25
+ puts s.url
26
+ puts s.title
27
+ s.delete!
28
+ puts "--"
29
+ end
@@ -0,0 +1,29 @@
1
+ require "async/queue"
2
+
3
+ module Async
4
+ module Webdriver
5
+ class Client
6
+ def initialize(endpoint:)
7
+ @connection = Connection.new endpoint: endpoint
8
+ end
9
+
10
+ def session
11
+ SessionCreator.new connection: @connection
12
+ end
13
+
14
+ def status
15
+ @connection.call method: :get, path: "status"
16
+ end
17
+
18
+ def sessions
19
+ value = @connection.call method: :get, path: "sessions"
20
+ list = []
21
+ for json in value do
22
+ list << Session.new(json: json, connection: @connection)
23
+ end
24
+ list
25
+ end
26
+
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,59 @@
1
+ require "async"
2
+ require "async/queue"
3
+ require "async/http/internet"
4
+ require "json"
5
+
6
+ module Async
7
+ module Webdriver
8
+ class Connection
9
+ def initialize(endpoint:)
10
+ @url = endpoint
11
+ @internet = Async::HTTP::Internet.new
12
+ end
13
+
14
+ def call(method:, path:nil, headers:[], body:nil)
15
+ body_array = case body
16
+ when Hash
17
+ [body.to_json]
18
+ end
19
+
20
+ path_or_url = if path
21
+ "#{@url}/#{path}"
22
+ else
23
+ @url
24
+ end
25
+
26
+ task = Async.run do |t|
27
+ r = @internet.call method, path_or_url, headers, body_array
28
+
29
+ body = begin
30
+ JSON.parse r.read
31
+ rescue JSON::ParserError => ex
32
+ p ex
33
+ exit 1
34
+ end
35
+
36
+ @internet.close
37
+
38
+ status = body.dig "status"
39
+ if status == 0
40
+ # POST /session has different response structure than other calls
41
+ if method == "post" && path == "session"
42
+ {
43
+ "id" => body.dig("sessionId"),
44
+ "capabilities" => body.dig("value")
45
+ }
46
+ else # everything else works like this
47
+ body.dig "value"
48
+ end
49
+ else
50
+ p body
51
+ raise "Error: #{status} - #{body.dig("value", "message")}"
52
+ end
53
+ end
54
+
55
+ task.wait
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,25 @@
1
+ require "async"
2
+ require "async/queue"
3
+ require "async/http/internet"
4
+ require "json"
5
+
6
+ module Async
7
+ module Webdriver
8
+ class ConnectionPath
9
+ def initialize(prefix, connection:)
10
+ @connection = connection
11
+ @prefix = prefix
12
+ end
13
+
14
+ def call(method:, path:nil, headers:[], body:nil)
15
+ connection_path = if path
16
+ "#{@prefix}/#{path}"
17
+ else
18
+ "#{@prefix}"
19
+ end
20
+
21
+ @connection.call method: method, path: connection_path, headers: headers, body: body
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,20 @@
1
+ require "selenium-webdriver"
2
+ module Async
3
+ module Webdriver
4
+ class Element
5
+ def initialize(json:, connection:)
6
+ @id = json.fetch "ELEMENT"
7
+ @element_connection = ConnectionPath.new "element/#{@id}", connection: connection
8
+ end
9
+
10
+ def tag_name
11
+ @element_connection.call method: "get", path: "name"
12
+ value
13
+ end
14
+
15
+ def text
16
+ @element_connection.call method: "get", path: "text"
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,29 @@
1
+ module Async
2
+ module Webdriver
3
+ class Execute
4
+ def initialize(connection:)
5
+ @execute_connection = ConnectionPath.new "execute", connection: connection
6
+ end
7
+
8
+ def sync(script, args=[])
9
+ #TODO: args?
10
+ body = {
11
+ script: script,
12
+ args: args
13
+ }
14
+
15
+ @execute_connection.call method: "post", path: "sync", body: body
16
+ end
17
+
18
+ def async(script, args=[])
19
+ #TODO: args?
20
+ body = {
21
+ script: script,
22
+ args: args
23
+ }
24
+
25
+ @execute_connection.call method: "post", path: "async", body: body
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,70 @@
1
+ module Async
2
+ module Webdriver
3
+ class Session
4
+ def initialize(json:, connection:)
5
+ @capabilities = json.fetch "capabilities"
6
+ @id = json.fetch "id"
7
+
8
+ @session_connection = ConnectionPath.new "session/#{@id}", connection: connection
9
+ @execute = Execute.new connection: @session_connection
10
+ end
11
+
12
+ attr_reader :id, :execute
13
+
14
+
15
+ def elements
16
+ body = {
17
+ using: "css selector",
18
+ value: "html"
19
+ }
20
+
21
+ session_id, value = @session_connection.call method: "post", path: "elements", body: body
22
+ list = []
23
+ for e in value do
24
+ list << Element.new(json: e, connection: @session_connection)
25
+ end
26
+ list
27
+ end
28
+
29
+ def delete!
30
+ response = @session_connection.call method: "delete"
31
+ end
32
+
33
+ def navigate!(url)
34
+ body = {
35
+ url: url
36
+ }
37
+
38
+ @session_connection.call method: "post", path: "url", body: body
39
+ self
40
+ end
41
+
42
+ def back!
43
+ @session_connection.call method: "post", path: "back"
44
+ self
45
+ end
46
+
47
+ def forward!
48
+ @session_connection.call method: "post", path: "forward"
49
+ self
50
+ end
51
+
52
+ def refresh!
53
+ @session_connection.call method: "post", path: "refresh"
54
+ self
55
+ end
56
+
57
+ def url
58
+ @session_connection.call method: "get", path: "url"
59
+ end
60
+
61
+ def title
62
+ @session_connection.call method: "get", path: "title"
63
+ end
64
+
65
+ def source
66
+ @session_connection.call method: "get", path: "source"
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,19 @@
1
+ require "async/queue"
2
+
3
+ module Async
4
+ module Webdriver
5
+ class SessionCreator
6
+ def initialize(connection:)
7
+ @connection = connection
8
+ end
9
+
10
+ def create!
11
+ value = @connection.call method: "post", path: "session", body: {
12
+ desiredCapabilities: {}
13
+ }
14
+
15
+ Session.new json: value, connection: @connection
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,5 @@
1
+ module Async
2
+ module Webdriver
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1,15 @@
1
+ module Async
2
+ module Webdriver
3
+ end
4
+ end
5
+
6
+ require_relative "webdriver/version"
7
+ require_relative "webdriver/client"
8
+ require_relative "webdriver/connection"
9
+ require_relative "webdriver/connection_path"
10
+
11
+ require_relative "webdriver/session"
12
+ require_relative "webdriver/session_creator"
13
+
14
+ require_relative "webdriver/element"
15
+ require_relative "webdriver/execute"
metadata ADDED
@@ -0,0 +1,193 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: async-webdriver
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Matti Paksula
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-01-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: async-http
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: selenium-webdriver
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: async-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry-byebug
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ description:
140
+ email:
141
+ - matti.paksula@iki.fi
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".rspec"
148
+ - ".ruby-gemset"
149
+ - ".ruby-version"
150
+ - ".travis.yml"
151
+ - Gemfile
152
+ - Gemfile.lock
153
+ - Guardfile
154
+ - LICENSE.txt
155
+ - README.md
156
+ - Rakefile
157
+ - async-webdriver.gemspec
158
+ - bin/console
159
+ - bin/setup
160
+ - examples/multiple_sessions.rb
161
+ - lib/async/webdriver.rb
162
+ - lib/async/webdriver/client.rb
163
+ - lib/async/webdriver/connection.rb
164
+ - lib/async/webdriver/connection_path.rb
165
+ - lib/async/webdriver/element.rb
166
+ - lib/async/webdriver/execute.rb
167
+ - lib/async/webdriver/session.rb
168
+ - lib/async/webdriver/session_creator.rb
169
+ - lib/async/webdriver/version.rb
170
+ homepage: https://github.com/matti/async-webdriver
171
+ licenses:
172
+ - MIT
173
+ metadata: {}
174
+ post_install_message:
175
+ rdoc_options: []
176
+ require_paths:
177
+ - lib
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ required_rubygems_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ requirements: []
189
+ rubygems_version: 3.0.1
190
+ signing_key:
191
+ specification_version: 4
192
+ summary: async-webdriver
193
+ test_files: []