Commit 3d69fa2
authored
feat(tools): add use_browser tool to Strands tools repository (#102)
* feat(tools): add use_browser tool to Strands tools repository
* test(use_browser): add more unit testing for use_browser tool
* feat(tools): add retry and multi-tab support to use_browser tool
Adding functionality so use_browser tool has some retry functionality and supports multiple tabs and switching between them.
* feat: add more retry logic and environment variables
* fix(use_browser): fix screenshot error and using Playwright specific errors for better error handling
* fix(use_browser): fix logs and fix how actions are being called, now actions are only called with their required arguments
* fix(use_browser): fix merge conflicts in README file
* Delete src/strands_tools/use_computer.py
* test(use_browser): add more unit testing for use_browser tool
* Update use_browser.py
* test(use_browser): add more unit testing for use_browser tool
* fix(use_browser): fix merge conflicts in README file
* feat(use_browser): Added BrowserApiMethods class which has all the browser actions as methods
* feat: Updating readme and pyproject.toml
* feat: Adding use_browser tool
* fix: fixing README file
* fix: fixing dependencies for testing
* fix: cleaning logs and updating README file
* fix: fixing log statements to pass all checks1 parent 6fd3590 commit 3d69fa2
File tree
4 files changed
+1299
-3
lines changed- src/strands_tools
- tests
4 files changed
+1299
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
301 | 303 | | |
302 | 304 | | |
303 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
304 | 332 | | |
305 | 333 | | |
306 | 334 | | |
| |||
443 | 471 | | |
444 | 472 | | |
445 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
446 | 488 | | |
447 | 489 | | |
448 | 490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
137 | | - | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
0 commit comments