Hello everyone!
I am fairly new to FF, have been trying the tool for the last couple of weeks and really like it. Now I would like to do something quite "custom" in one of my test apps.
This is the flow of actions:
1) User inputs a number in a field
2) User clicks on a button
3) Such button has some custom code that should do the following:
Take the number typed in by the user as a parameter
go to a URL
Use this parameter to inject it in a search box (to be identified thanks to its "id" in the DOM)
Click search
Get the results in a JSON file
As you would have understood, I am stuck at the custom code step. I do not know how to proceed, if it should be a custom function, widget or action (I have voted for a custom action that I would add to my button widget but again not too sure). I have tried to add Puppeteer as a dependency but can't get it to work.
So before going into the details of any code, would you know if my approach is the right one, i.e. custom action with Puppeteer or if there is a better way of achieving this?
Thanks very much in advance for your help!
Romain