Unlock instant, AI-driven research and patent intelligence for your innovation.

Webdriver-based chrome plug-in automation method and system

An automation system and plug-in technology, applied in the computer field, can solve problems such as high cost, complicated development process, and inability to directly obtain third-party plug-in operation data, and achieve the effect of improving convenience and ensuring stability.

Pending Publication Date: 2022-06-07
珠海紫讯信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since third-party plug-ins are not allowed to be injected with code and communication, it is impossible to directly obtain the operating data of third-party plug-ins. If you directly modify the permissions of third-party plug-ins in the plug-in directory, the browser will automatically recognize that the third-party plug-in If the browser is developed for the second time, modify the kernel code of the browser and then modify the permissions of the third-party plug-in. Although it is possible to obtain the running data of the third-party plug-in, the development process is complicated and the cost is high. Will affect the stability of the browser

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
  • Webdriver-based chrome plug-in automation method and system
  • Webdriver-based chrome plug-in automation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The general idea of ​​the technical solutions in the embodiments of the present application is as follows: cut out the plug-in directory storing the chrome plug-in, and then modify the manifest.json file of the chrome plug-in that needs to be automated in the plug-in directory to obtain the chrome plug-in capable of being automated, Let the chrome plug-in with the ability to be automated have the ability to automatically obtain the running data, and finally the chrome browser loads the chrome plug-in with the ability to be automated through the webdriver to run automatically, without the need for secondary development of the browser, so as to improve the third-party plug-in operation data acquisition. Convenience to ensure the stability of browser operation.

[0040] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a webdriver-based chrome plug-in automation method of the present invention includes the following steps:

[0041] Step S10, find t...

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 webdriver-based chrome plug-in automation method and a webdriver-based chrome plug-in automation system in the technical field of computers. The method comprises the following steps of: step S10, searching a chrome browser for storing a plug-in directory of a chrome plug-in; step S20, cutting the plug-in directory; step S30, modifying a manifest.json file of the chrome plug-in which needs to be automated in the plug-in directory, so as to obtain the chrome plug-in with an automated capability; and step S40, starting the chrome browser, and loading the chrome plug-in with the automated capability by the chrome browser through the webdriver so as to carry out automatic operation. The method has the advantages that the convenience of acquiring the running data of the third-party plug-in is greatly improved, and the running stability of the browser is guaranteed.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a webdriver-based chrome plug-in automation method and system. Background technique [0002] In the process of cross-domain e-commerce operating an e-commerce platform, in order to improve operational efficiency, it is often necessary to use third-party plug-ins to automatically execute some functions in the browser, and these third-party plug-ins will generate some valuable data during the execution process. Therefore, There is a need to obtain third-party plug-in operation data. [0003] However, since third-party plug-ins are not allowed to inject code and communicate, they cannot directly obtain the operation data of the third-party plug-ins. If you modify the permissions of the third-party plug-ins directly in the plug-in directory, the browser will automatically recognize that the third-party plug-ins are serialized. If the browser is modified for the second time, the ke...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958G06F9/448
CPCG06F16/958G06F9/4482
Inventor 刘志海陈聪金
Owner 珠海紫讯信息科技有限公司