Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html Minifier | Change Minifier Locator Strategy #5

Open
Neeraj319 opened this issue Oct 30, 2024 · 0 comments
Open

Html Minifier | Change Minifier Locator Strategy #5

Neeraj319 opened this issue Oct 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Neeraj319
Copy link
Member

Neeraj319 commented Oct 30, 2024

The current html minifier is not working properly on reedit.com, www.flipkart.com.
Problems:

  • In makemytrip.com when trying to locate input fields due multiple input fields being present in the page wrong locatr is sent. Most of the times the llm sends id of a read only input.
  • Llm has no idea if an element is clickable, hover able, this is because we do not provide any information about these properties of the element in the minified html.

Fix

  • Add attribute called data-supported-primitives.
    • This will have hold the following comma separated values: click, hover, input_text, select.
    • With these attributes addition LLM will have much more clarity on which locatr id to pick.
@Neeraj319 Neeraj319 added the enhancement New feature or request label Oct 30, 2024
@Neeraj319 Neeraj319 self-assigned this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant