I just started learning this software, and I want to make a script to help me work. But the process is not right, can you help me find a solution? Thank you very much
What I want to do is: there are many pages that have been opened and loaded in Google Chrome. There is no dynamic loading.
- I want to scroll each page step by step. So that I can quickly scan the content inside
- After scrolling to the bottom, wait for two seconds
- Press the command+w key on the keyboard to close the current page.
- This cycle is completed for all the pages I opened.
Now there is a problem. Short pages can go through this process, but long pages always scroll halfway and execute the closing page behind. I really don’t know how to do it
The code part was actually given to me by AI, and I don’t know how to do it.