# Possibility to use pm.sendRequest for clicking url on the response or using javascript event for clicking purpose

**URL:** <https://community.postman.com/t/possibility-to-use-pm-sendrequest-for-clicking-url-on-the-response-or-using-javascript-event-for-clicking-purpose/75990>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [February 24, 2025, 4:57pm UTC](https://community.postman.com/t/possibility-to-use-pm-sendrequest-for-clicking-url-on-the-response-or-using-javascript-event-for-clicking-purpose/75990 "2025-02-24T16:57:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![greenridinghood](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/greenridinghood/32/26145_2.png) [@greenridinghood](https://community.postman.com/u/greenridinghood)\
**Post date:** [February 24, 2025, 4:57pm UTC](https://community.postman.com/t/possibility-to-use-pm-sendrequest-for-clicking-url-on-the-response-or-using-javascript-event-for-clicking-purpose/75990/1 "2025-02-24T16:57:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [February 24, 2025, 5:18pm UTC](https://community.postman.com/t/possibility-to-use-pm-sendrequest-for-clicking-url-on-the-response-or-using-javascript-event-for-clicking-purpose/75990/2 "2025-02-24T17:18:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![greenridinghood](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/greenridinghood/32/26145_2.png) [@greenridinghood](https://community.postman.com/u/greenridinghood)\
**Post date:** [February 24, 2025, 6:35pm UTC](https://community.postman.com/t/possibility-to-use-pm-sendrequest-for-clicking-url-on-the-response-or-using-javascript-event-for-clicking-purpose/75990/3 "2025-02-24T18:35:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [February 26, 2025, 11:42am UTC](https://community.postman.com/t/possibility-to-use-pm-sendrequest-for-clicking-url-on-the-response-or-using-javascript-event-for-clicking-purpose/75990/4 "2025-02-26T11:42:28Z")

</div>

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.
