Hi
I am aware Postman doesn’t have a direct click event, I should use Selenium or other automation programs. I am curious if by using pm.sendRequest or javascript in the pre-request or post-response section some way we can do that. Let me try to explain my issue and goal
we are using some known billing/payment company API for our product payment system. Middle of all API calls, at some point we are getting URL in response we have to click for 3D security.
I wonder if I can succeed with some workaround using pm.sendRequest or some javascript code if I wrote in the script section
this question for possibilities and brainstorming
thanks
Hey @greenridinghood 
As you mentioned, Postman doesn’t have a direct “click” mechanism that can be done in the middle of that sequence. pm.sendRequest
would only send an async request to that URL.
I don’t know that full context here but I feel It’s unlikely that Postman could help with that part of your workflow.
1 Like
Hey!
thank you for your quick response
what about javascript in the script section
I have used javascript codes there before for example parsing or slicing
now
when I think about it mostly text/JSON manipulation,
I don’t remember if I use any other javascript in there (i.e. clickEvent )
thanks again
I don’t believe it would work, I might be wrong.
The script section will allow you to do certain things with JS but likely not what you’re asking here.
1 Like