How to run playwright script on user side with browser

Deepak Dev 5 Reputation points
2024-01-17T11:36:06.3766667+00:00

Hello everyone, I'm currently working on a project where I need to automate a specific web interaction. The process I envision is as follows: a user clicks a button on a webpage, which triggers a script that automatically opens another webpage, logs in, and performs a specific task. At the moment, we achieve this functionality using a Jenkins server with a Playwright script. However, I'm looking for a different approach. Ideally, I would like to inject JavaScript or playwright scripty that can automatically carry out the desired tasks without relying on the current method. My backend is built with Java, and the frontend is developed using either Angular or ReactJS. I am seeking advice or suggestions on how to implement this functionality using these technologies. Specifically, I am interested in any frameworks, libraries, or strategies that would allow for this kind of automated web interaction directly from the user's action (like a button click) in a web application. Has anyone here implemented something similar or can provide guidance on how to approach this? Any insights or examples would be greatly appreciated! Thank you in advance for your help!

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
902 questions
Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
416 questions
0 comments No comments
{count} vote