mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-06 11:05:26 +00:00
refactor: remove debug print
This commit is contained in:
parent
e74bbe4044
commit
8c77f3eddb
@ -1,5 +1,7 @@
|
||||
#!/usr/bin python3
|
||||
|
||||
# NOTE this script is temporary and will be improved
|
||||
|
||||
from flask import Flask, jsonify, request
|
||||
import threading
|
||||
import ollama
|
||||
|
@ -75,7 +75,6 @@ class BrowserAgent(Agent):
|
||||
remaining_links_text = remaining_links if remaining_links is not None else "No links remaining, do a new search."
|
||||
inputs_form = self.browser.get_form_inputs()
|
||||
inputs_form_text = '\n'.join(inputs_form)
|
||||
print("Visible form:\n", inputs_form_text)
|
||||
|
||||
return f"""
|
||||
You are a web browser.
|
||||
|
@ -308,7 +308,6 @@ class Browser:
|
||||
if not xpath:
|
||||
continue
|
||||
element = self.driver.find_element(By.XPATH, xpath)
|
||||
print("found-->", element)
|
||||
input_type = (element.get_attribute("type") or "text").lower()
|
||||
if input_type in ["checkbox", "radio"]:
|
||||
is_checked = element.is_selected()
|
||||
|
Loading…
x
Reference in New Issue
Block a user