browser-use-tool changedagents-and-tools/tool-use/browser-use-tool
Recorded here
Lines+2added
Lines−2removed
From line
673
where the diff opens
First seen
20 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 673, old and new numbered
/
from line 673
673673 'type' => typeText($input['text']),
674674 'screenshot' => captureScreenshot(),
675675 // Handle other actions as needed
676 default => throw new RuntimeException("Unknown or unimplemented member: {$name}"),
676 default => throw new \RuntimeException("Unknown or unimplemented member: {$name}"),
677677 };
678678 }
679679 ```
from line 1006
10061006 try {
10071007 // A real executor also returns a browser_state block on navigation and tab-management results
10081008 $toolResults[] = [...$result, 'content' => handleBrowserAction($block->name, $block->input)];
1009 } catch (Throwable $e) {
1009 } catch (\Throwable $e) {
10101010 $failed = true;
10111011 $toolResults[] = [...$result, 'content' => 'Error: ' . $e->getMessage(), 'is_error' => true];
10121012 }
No line in this hunk matches that.