INNER CODE UNIT · Python
GPTSeleniumAgent
handrew/browserpilot · browserpilot/agents/gpt_selenium_agent.py:43
class GPTSeleniumAgent:
def __init__(
self,
instructions="",
chromedriver_path=None,
chrome_options={},
user_data_dir="user_data",
headless=False,
retry=False,
model_for_instructions="gpt-4o-mini",
model_for_responses="gpt-4o-mini",
memory_folder=None,
debug=False,
debug_html_folder="",
instruction_output_file=None,
close_after_completion=True,
remote_url=None,
disable_danger_check=False,