Click to fill in the interactive operation of the js control system

I"d like to ask for a solution to a problem.

Business scenario : the operation flow of a business system is very complicated. You don"t want to fill in the information manually. You want to use the program to control the content and click on the button.

current problem: it is difficult to use the IE, console only for business systems. What the front end does is find the form element of the page, use js to fill in the content, and click the button. I would like to ask if there is any other way to achieve this function, rather than looking for elements one by one.

Supplementary question: the system was not written by our developers, it was written by someone else. It is equivalent to me to visit Taobao, I do not operate by myself, but use program operations to place orders and submit orders. Use js to assign values to the form, click the button is not a problem, just want to ask if there are other solutions, rather than let the front end to find the form element to assign, find the button to trigger click. (looking for elements in the IE console, looking for me kindly tired)

Oct.08,2021

input textarea assignment. input.value='abc'
jQuery is .val ()

Click. Native dispatchEvent or .click () .
jQuery trigger ()


easyui $(id) .form ('load',jsonData) can bind json data to a form

Menu