Skip to content

Commit

Permalink
Fix error in web_browser.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavdGao committed Nov 1, 2024
1 parent 8c31ae6 commit 0d06966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agentscope/service/browser/web_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def action_type(
self._page.evaluate("element => element.focus()", web_ele)

# Type in the text
web_ele.type(text)
web_ele.type(str(text))
self._wait_for_load(
"Wait for finish typing",
"Finished",
Expand Down

0 comments on commit 0d06966

Please sign in to comment.