Skip to content

Html Minifier | Change Minifier Locator Strategy #5

@objecthuman

Description

@objecthuman

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions