Skip to content

Múltiple scrollable elements #276

@javuiz

Description

@javuiz

Some pages' main scroll bar is not at the main window, but in some inner div.

Other pages may even have many scrollable elements, the main window being one of them or not.

It seems all scrolls made in the API calls to read more chunks assume a single scroll on the main window (e.g. when counting chunks and scrollToHeight()).

This makes all content inside scrollable areas other than the main window invisible to the API.

Additionally, scrollable elements are not eligible as "interactive" if not having such role attribute (which is not very common practice afaik) thus cannot be included in the DOM elements provided as context to the LLM. That means one cannot expect the LLM to decide to scroll them on its own, as it's unaware of them.

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