I'm looking to write a code that finds a string on a web page and moves the mouse cursor over that string on the webpage (at the beginning or the end of the string, it matters not).
e.g. On a website made for python exercises I want to look through a list of problems, find the string "High" under the difficulty column, move my cursor over the string I want for reference then move it a few pixels to the right over a box where I will insert my name in order to assign those problems to me.
I will use pyautogui to do the last part but first I need to find the coordinates of the high difficulty problems.
I forgot to mention. The list of problems is dynamic, whenever a problem is assigned to someone, it will disappear. That's why I need to find the coordinates every time. I will also include an auto refresh of the page at the start but that's not the important part right now.
Any idea would be appreciated.