browserctl 0.3.0 → 0.4.0
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/CHANGELOG.md +34 -0
- data/README.md +56 -197
- data/bin/browserctl +33 -11
- data/bin/browserd +7 -1
- data/examples/smoke/params_file.rb +35 -0
- data/examples/smoke/store_fetch.rb +39 -0
- data/examples/the_internet/add_remove_elements.rb +3 -3
- data/examples/the_internet/checkboxes.rb +3 -3
- data/examples/the_internet/dropdown.rb +3 -3
- data/examples/the_internet/dynamic_loading.rb +3 -3
- data/examples/the_internet/login.rb +5 -5
- data/lib/browserctl/client.rb +25 -0
- data/lib/browserctl/commands/export_cookies.rb +18 -0
- data/lib/browserctl/commands/import_cookies.rb +23 -0
- data/lib/browserctl/commands/init.rb +11 -0
- data/lib/browserctl/commands/{pause_resume.rb → pause.rb} +2 -12
- data/lib/browserctl/commands/record.rb +2 -0
- data/lib/browserctl/commands/resume.rb +21 -0
- data/lib/browserctl/commands/status.rb +30 -0
- data/lib/browserctl/constants.rb +9 -2
- data/lib/browserctl/logger.rb +40 -5
- data/lib/browserctl/recording.rb +81 -15
- data/lib/browserctl/runner.rb +21 -0
- data/lib/browserctl/server/command_dispatcher.rb +24 -5
- data/lib/browserctl/server.rb +16 -1
- data/lib/browserctl/version.rb +1 -1
- data/lib/browserctl/workflow.rb +24 -0
- metadata +24 -4
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: browserctl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ferrum
|
|
@@ -52,6 +52,20 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3.1'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: lefthook
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '1.11'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '1.11'
|
|
55
69
|
- !ruby/object:Gem::Dependency
|
|
56
70
|
name: rspec
|
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -111,6 +125,8 @@ files:
|
|
|
111
125
|
- bin/browserd
|
|
112
126
|
- bin/setup
|
|
113
127
|
- examples/cloudflare_hitl.rb
|
|
128
|
+
- examples/smoke/params_file.rb
|
|
129
|
+
- examples/smoke/store_fetch.rb
|
|
114
130
|
- examples/the_internet/add_remove_elements.rb
|
|
115
131
|
- examples/the_internet/checkboxes.rb
|
|
116
132
|
- examples/the_internet/dropdown.rb
|
|
@@ -120,14 +136,18 @@ files:
|
|
|
120
136
|
- lib/browserctl/client.rb
|
|
121
137
|
- lib/browserctl/commands/cli_output.rb
|
|
122
138
|
- lib/browserctl/commands/click.rb
|
|
139
|
+
- lib/browserctl/commands/export_cookies.rb
|
|
123
140
|
- lib/browserctl/commands/fill.rb
|
|
141
|
+
- lib/browserctl/commands/import_cookies.rb
|
|
124
142
|
- lib/browserctl/commands/init.rb
|
|
125
143
|
- lib/browserctl/commands/inspect.rb
|
|
126
144
|
- lib/browserctl/commands/open_page.rb
|
|
127
|
-
- lib/browserctl/commands/
|
|
145
|
+
- lib/browserctl/commands/pause.rb
|
|
128
146
|
- lib/browserctl/commands/record.rb
|
|
147
|
+
- lib/browserctl/commands/resume.rb
|
|
129
148
|
- lib/browserctl/commands/screenshot.rb
|
|
130
149
|
- lib/browserctl/commands/snapshot.rb
|
|
150
|
+
- lib/browserctl/commands/status.rb
|
|
131
151
|
- lib/browserctl/commands/watch.rb
|
|
132
152
|
- lib/browserctl/constants.rb
|
|
133
153
|
- lib/browserctl/logger.rb
|
|
@@ -157,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
157
177
|
requirements:
|
|
158
178
|
- - ">="
|
|
159
179
|
- !ruby/object:Gem::Version
|
|
160
|
-
version: '3.
|
|
180
|
+
version: '3.3'
|
|
161
181
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
182
|
requirements:
|
|
163
183
|
- - ">="
|