Spaces:
Running
Running
Update tools/search_item_ctrl_f.py
Browse files
tools/search_item_ctrl_f.py
CHANGED
@@ -4,12 +4,7 @@ from selenium.webdriver.common.by import By
|
|
4 |
|
5 |
class SearchItemCtrlFTool(Tool):
|
6 |
name = "search_item_ctrl_f"
|
7 |
-
description = ""
|
8 |
-
Searches for text on the current page via Ctrl + F and jumps to the nth occurrence.
|
9 |
-
Args:
|
10 |
-
text: The text to search for
|
11 |
-
nth_result: Which occurrence to jump to (default: 1)
|
12 |
-
"""
|
13 |
inputs = {
|
14 |
'text': {'type': 'string', 'description': 'The text to search for'},
|
15 |
'nth_result': {'type': 'integer', 'description': 'Which occurrence to jump to (default: 1)', 'nullable': True}
|
|
|
4 |
|
5 |
class SearchItemCtrlFTool(Tool):
|
6 |
name = "search_item_ctrl_f"
|
7 |
+
description = "Searches for text on the current page via Ctrl + F and jumps to the nth occurrence."
|
|
|
|
|
|
|
|
|
|
|
8 |
inputs = {
|
9 |
'text': {'type': 'string', 'description': 'The text to search for'},
|
10 |
'nth_result': {'type': 'integer', 'description': 'Which occurrence to jump to (default: 1)', 'nullable': True}
|