omniai-tools 0.6.0 → 0.6.1
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/omniai/tools/browser_tool.rb +3 -0
- data/lib/omniai/tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92931cd23e47e41ef1be07da377a47cf0e9af2456f58974f8a384597f9c2d6c6
|
4
|
+
data.tar.gz: 9adf44825839528ca308915cf6f58f5d5ef86b052f5dd7f4e5abfbef8fd98a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b02dcd4125e9198e30c4ade51a6b942d9bc945ee03be946c0fb93328ffc3a7b3a29c2a4a10a3a5dfa98f003402d9e73de900e0015aed3e07969243cf16edc742
|
7
|
+
data.tar.gz: 4c4fa96c08aa45a8d0b76401602050e241a18a4eae4e5af6c59771a522fdb791c4bcc7771bf4bbd02e12f1c63e6d4945278030c8991bd56b35823a238b841abe
|
@@ -13,6 +13,7 @@ module OmniAI
|
|
13
13
|
LINK_CLICK = "link_click"
|
14
14
|
ELEMENT_CLICK = "element_click"
|
15
15
|
TEXT_FIELD_SET = "text_field_set"
|
16
|
+
SCREENSHOT = "screenshot"
|
16
17
|
end
|
17
18
|
|
18
19
|
ACTIONS = [
|
@@ -24,6 +25,7 @@ module OmniAI
|
|
24
25
|
Action::LINK_CLICK,
|
25
26
|
Action::ELEMENT_CLICK,
|
26
27
|
Action::TEXT_FIELD_SET,
|
28
|
+
Action::SCREENSHOT,
|
27
29
|
].freeze
|
28
30
|
|
29
31
|
description <<~TEXT
|
@@ -102,6 +104,7 @@ module OmniAI
|
|
102
104
|
* `#{Action::LINK_CLICK}`: Click a link element
|
103
105
|
* `#{Action::ELEMENT_CLICK}`: Click any clickable element
|
104
106
|
* `#{Action::TEXT_FIELD_SET}`: Enter text in input fields or text areas
|
107
|
+
* `#{Action::SCREENSHOT}`: Take a screenshot of the current page
|
105
108
|
TEXT
|
106
109
|
|
107
110
|
parameter :url, :string, description: <<~TEXT
|
data/lib/omniai/tools/version.rb
CHANGED