wda_lib 0.2.2 → 0.2.3
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.
- checksums.yaml +4 -4
- data/lib/selenium_patch/bridge_patch.rb +0 -12
- data/lib/wda_lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d54d671bdf87c1cfdea873faea31960872aac5ab
|
4
|
+
data.tar.gz: af4dcf4df69c48f11beeaad35d0656d76a15cb7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ffa84e999ff834ffebcc5e9c8f1a97060571cb974ed543d979f1c05f00a4de78458743da50e609ae8589f8495597276acf650d2f3d920f4380600686a5b0fe6
|
7
|
+
data.tar.gz: 1d8d6a97389a0c27907aa2f4d736996752db6a71c7a55bc1a1879bc33df83ff3197c1df3fd183b67708613370ccd4fa75216f651a9265e9f14e784eeb8571aa1
|
@@ -7,18 +7,6 @@ require 'pry'
|
|
7
7
|
|
8
8
|
Selenium::WebDriver::Remote::Bridge.class_eval do
|
9
9
|
|
10
|
-
# Patch Bridge create_session method
|
11
|
-
def create_session(desired_capabilities)
|
12
|
-
@session_id = desired_capabilities[:session_id]
|
13
|
-
if !desired_capabilities[:session_valid]
|
14
|
-
resp = raw_execute :new_session, {}, {desiredCapabilities: desired_capabilities}
|
15
|
-
desired_capabilities[:session_id] = resp['session_id']
|
16
|
-
desired_capabilities[:session_valid] = true
|
17
|
-
@session_id = resp['session_id']
|
18
|
-
end
|
19
|
-
return desired_capabilities
|
20
|
-
end
|
21
|
-
|
22
10
|
# # Add status method
|
23
11
|
# def session_status
|
24
12
|
# execute :session_status
|
data/lib/wda_lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wda_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MIN Yi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|