The invention belongs to the technical field of RPA element recognition, and particularly relates to an RPA element pickup same-screen switching method and system. The method comprises the following steps: S1, selecting an element pickup mode; s2, moving the mouse to a specific software interface; s3, obtaining interface related information and interface screenshots, and transmitting and analyzing the interface related information and the interface screenshots; s4, forwarding the interface screenshot, and judging whether the specified time T is exceeded or not; s5, performing analysis processing on the interface screenshot algorithm to obtain an algorithm analysis result; s6, packaging an algorithm analysis result, and displaying the algorithm analysis result on a software interface; s7, judging an operation mode of the user; and S8, after the user selects the corresponding element, the picked element is highlighted again, and picking is completed after the user confirms that the element is correct. The method combines a service fragmentation mechanism, operation mode distinguishing and a front-end and rear-end processing strategy of floating window display, and has the advantages of being more excellent in pickup effect and wider in application range.