undefinedfix
Sign in

How to use the program to realize the logical operation of similar people on the web page?

kcomf edited in Fri, 23 Sep 2022

Problem description

I do data analysis. We have a website that allows us to put data in, and then input some information and click analysis options according to certain logic. As shown in the screenshot, I want to develop a small script to put the logic level in a file, and then drive the program to realize automatic operation and click selection in the web page according to the logic and input requirements in the file Can this function be implemented in Python? Because the coordinates of the web page are uncertain, and there are many steps to operate, it seems that the UI is not easy to use.

图片描述

2 Replies
Rox
commented on Fri, 23 Sep 2022

The ultimate goal of all page clicks and clicks is to pass parameters to the back-end API, such as apo / aaa ? p1 = one & p2 = three

You just need to construct the parameter request API to be passed. Don't you think too much about the idea of simulating click

Of course, you can use selenium to simulate browser requests, but the performance will be much worse

Erfan
commented on Fri, 23 Sep 2022

puppeteer