Skip to content

elements list is empty - agent doing nothing #61

Description

@gsiros

The following line from SeeActAgent.predict:

elements = await get_interactive_elements_with_playwright(self.page, self.config['browser']['viewport'])

returns [] and the agent does not take any step at all. Debug code replaces predicted action with NONE. Agent enters a state of limbo.

The following line from browser_helper.py:get_interactive_elements_with_playwright:

results = await asyncio.gather(*tasks)

returns:

Resuts: [None, None, None, ...]

which ultimately results in:

No action necessary at this stage. Skipped

I have installed the package with pip install -e . to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions