HTML Locator Browser Extension for Dynamic Web Automation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for web-based automation struggle to accurately and efficiently locate specific HTML elements on dynamic web pages, as the addresses of these elements frequently change due to updates, making manual selection and XPath generation unreliable and time-consuming.

Innovation Solution

The development of an HTML locator system that automatically determines location candidates for HTML elements using XPath or CSS selectors, providing an ordered list of potential locations that can be used for automation processes, even on complex and dynamically updated web pages.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual selection and XPath generation are used to locate HTML elements, then automation can be applied, but the process becomes time-consuming and unreliable due to frequent address changes on dynamic web pages

Engineering Contradiction:
Improveaccuracy of HTML element locationVSAvoidtime to locate HTML element
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system allows HTML elements to self-identify through user interaction. When a user hovers over or clicks an element, the system automatically captures its location information and generates XPath/CSS selector without requiring manual inspection of page source code, thus eliminating time-consuming manual location processes.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces manual mechanical processes (manually browsing page source, searching for element addresses, generating XPath) with an automated electronic system that uses browser extensions to automatically detect, capture, and generate location selectors through user interaction, significantly reducing time and improving accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If web pages are frequently updated with new HTML elements, then functionality is improved, but the stability of element addresses deteriorates, making automation difficult

Engineering Contradiction:
Improveweb page update capabilityVSAvoidstability of HTML element address
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The system dynamically adapts to web page changes by allowing users to re-select elements after updates. The browser extension continuously monitors and captures new element locations, automatically generating updated XPath and CSS selector expressions that reflect the current page structure, thus maintaining stability despite frequent updates.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system prepares location selectors in advance by generating XPath and CSS selector expressions before automation execution. When web pages are updated, the selectors can be quickly regenerated through simple user interaction, preventing automation breakdown before it occurs.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If automated location determination is implemented, then productivity is improved, but the complexity of the system increases

Engineering Contradiction:
Improveautomation efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a browser extension as an intermediary between the user and the web page. This intermediary automatically captures element location information and generates XPath/CSS selectors, simplifying the overall system by handling complexity within the extension while presenting a simple user interface for element selection.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The browser extension serves multiple functions: it detects HTML elements, captures their location information, generates both XPath and CSS selector expressions, and integrates with automation frameworks. This multi-functionality consolidates several tools into one, reducing overall system complexity while maintaining high productivity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250045343A1Web-based automated HTML element location provider
Publication Date: 2025.02.06 SAP SE
  • US20250045343A1 patent drawing
  • US20250045343A1 patent drawing
  • US20250045343A1 patent drawing

AI summary

Briefly, embodiments of a system, method, and article for receiving a user selection of a HyperText Markup Language (HTML) element on a web page. A source representation of objects which comprise a structure and content of the web page may be automatically acquired. The source representation may be automatically processed to determine an ordered list of candidate locations for the HTML element. An output locator may be generated and displayed. The output locator may present the ordered list of location candidates for the HTML element.