MCPcopy
hub / github.com/browser-use/macOS-use / update

Method update

examples/basic_agent.py:63–72  ·  view source on GitHub ↗
(self, action_name: str, success: bool = True, element_info: str = '')

Source from the content-addressed store, hash-verified

61 return 'Folder name has been entered.'
62
63 def update(self, action_name: str, success: bool = True, element_info: str = '') -> None:
64 if not success:
65 return
66
67 if action_name == 'click' and 'New Folder' in element_info:
68 self.new_folder_clicked = True
69 self.last_action = 'clicked_new_folder'
70 elif action_name == 'type' and self.new_folder_clicked:
71 self.folder_name_entered = True
72 self.last_action = 'entered_folder_name'
73
74
75async def main():

Callers 8

mainFunction · 0.95
update_providerFunction · 0.80
create_agent_tabFunction · 0.80
stop_agentMethod · 0.80
add_automationMethod · 0.80
run_automationMethod · 0.80
run_agentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected