capybara-playwright-driver 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff2e156c0f77ca328e9f95266e2b3ec6bf5a8250dbdbdb4d8c5e58b6590c042b
|
4
|
+
data.tar.gz: 252a5c70de1364cde5fd3996466d166deb3d17639476731c63e24c362a3f46bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcfa998db2aa8701ba465be17b67df0164e9fdb4cb9c7c087342256143dde984573f7627d20297f6dc1b9680d9b6bfa5b3e2227f4bbc91eea3bfd878c76ad01a
|
7
|
+
data.tar.gz: f792c1dd299fc9d257c6a38311a270979da849f4617d5827bbcfe7b186ccbca80cb92f27b1f4b6e6684a9443f8751af18501d4857f22031754ded783b6519219
|
data/capybara-playwright.gemspec
CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
27
|
spec.required_ruby_version = '>= 2.4'
|
28
|
+
spec.add_dependency 'addressable'
|
28
29
|
spec.add_dependency 'capybara'
|
29
30
|
spec.add_dependency 'playwright-ruby-client', '>= 1.16.0'
|
30
31
|
spec.add_development_dependency 'allure-rspec'
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'addressable/uri'
|
1
2
|
require_relative './tmpdir_owner'
|
2
3
|
|
3
4
|
module Capybara
|
@@ -74,9 +75,9 @@ module Capybara
|
|
74
75
|
assert_page_alive {
|
75
76
|
url =
|
76
77
|
if Capybara.app_host
|
77
|
-
URI(Capybara.app_host)
|
78
|
+
Addressable::URI.parse(Capybara.app_host) + path
|
78
79
|
elsif Capybara.default_host
|
79
|
-
URI(Capybara.default_host)
|
80
|
+
Addressable::URI.parse(Capybara.default_host) + path
|
80
81
|
else
|
81
82
|
path
|
82
83
|
end
|
@@ -26,7 +26,7 @@ module Capybara
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def playwright_execution
|
29
|
-
@playwright_execution ||= ::Playwright.connect_to_playwright_server(@ws_endpoint)
|
29
|
+
@playwright_execution ||= ::Playwright.connect_to_playwright_server("#{@ws_endpoint}?browser=#{@browser_type}")
|
30
30
|
end
|
31
31
|
|
32
32
|
def playwright_browser
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-playwright-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YusukeIwaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: addressable
|
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'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: capybara
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
241
|
- !ruby/object:Gem::Version
|
228
242
|
version: '0'
|
229
243
|
requirements: []
|
230
|
-
rubygems_version: 3.
|
244
|
+
rubygems_version: 3.5.11
|
231
245
|
signing_key:
|
232
246
|
specification_version: 4
|
233
247
|
summary: Playwright driver for Capybara
|