INNER CODE UNIT · Python

__init__

handrew/browserpilot · browserpilot/agents/gpt_selenium_agent.py:36

    def __init__(self, web_ele, iframe=None):
        # Initialize this object using web_ele.
        super().__init__(web_ele._parent, web_ele._id)
        self.__dict__.update(web_ele.__dict__)
        self.iframe = iframe


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",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…