Page element positioning method and device

A technology of page element and positioning method, which is applied in the field of World Wide Web (World Wide Web), can solve the problems of reduced efficiency of page element positioning, lengthy path of page elements, etc., to achieve the effects of improving efficiency, avoiding acquisition failure, and improving reliability

Inactive Publication Date: 2015-08-26
ALIBABA GRP HLDG LTD
View PDF11 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since the page element is positioned by traversing the DOM tree of the page step by step, the obtained path of the page element is the entire path from th

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page element positioning method and device
  • Page element positioning method and device
  • Page element positioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0052] In order to make the purpose, technical solutions and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described clearly and completely in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.

[0053] It should be noted that the terminals involved in the embodiments of the present application may include, but are not limited to, mobile phones, personal digital assistants (Personal Digital Assistant, PDA), wireless handheld devices, tablet computers, and personal computers (Personal Computer, PC). ), MP3 player, MP4 player, etc.

[0054] In addition, the term "and / o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a page element positioning method and device. According to the embodiment, a to-be-positioned page element in a target page is determined, and the path of the page element is acquired according to at least one of the generation mode of the ID (identity) attribute, the user-defined attribute and uniqueness of the CLASS attribute of the page element, so that the page element is positioned. A DOM (document object model) tree of the target page is not required to be traversed step by step, and the path of the page element can be obtained, so that the problem that the acquired path of the page element is too long due to the fact that the page element is positioned through step-by-step traversal of the DOM tree of the page in the prior art can be solved, and the page element positioning efficiency is improved.

Description

【Technical field】 [0001] This application relates to World Wide Web (Web) page processing technology, in particular to a method and device for locating page elements. 【Background technique】 [0002] With the development of communication technology, the terminal integrates more and more functions, so that the system function list of the terminal includes more and more corresponding applications, for example, the applications installed in the computer, the third-party smartphone Installed applications (Application, APP), etc. Some application programs involve some pages, and these pages are web pages (Web Pages) written based on HyperText Markup Language (HTML), and may also be referred to as Web pages. A web page can include a display block composed of one or more page tags, that is, HyperText Markup Language (HTML) tags, called page elements, such as text, labels, hyperlinks, buttons, input boxes, dropdown boxes etc. In some cases, it is necessary to locate a specified pa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 蔡长霞柯微
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products