How do I open a specific url in a browser from Pipedream

Is it possible to open a browser from Pipedream using either node js or python. I’ve tried using the webbrowser import in python, which tests correctly but doesn’t actually open.

Hi @wayne-de809e

First off, welcome to the Pipedream community. Happy to have you!

Can you tell us more about what you’re trying to achieve with a new browser window?

Sending an HTTP request with axios is the equivalent of opening a webpage (we have extensive docs on how to do this here: Make HTTP Requests with Node.js) , it just returns the data of the webpage in HTML or JSON, depending on the link you’re opening.

Are you trying to scrape some specific data from a website?

Thanks for responding pierce, No, i’d like it to open the website, not scrape data from it.

Of course @wayne-de809e , happy to help.

This is a perfect use case for using the pre-built Make HTTP Request action in the right hand menu in a brand new code step:

This will allow you to open the website, without necessarily caring about reading or scraping the content.

Hello,
Searching for the same issue, I found this thread. I tried using the pre-built Make HTTP Request action but it only gets the source code of the webpage. I want to open the “real” page in the browser I’m using for Pipedream (or any other). I also tried many different Python and Node.js packages but they all do not open the page but return a success code. I also used some of these solutions in a Python IDE (PyCharm) and the page was opened in the browser. For example:
import webbrowser
get_url= webbrowser.open(‘https://linuxhint.com/’)

Is this maybe a Pipedream restriction?
Background: I want top inform the user about an error in the workflow (the user is anybody calling the trigger URL). I do n not find any popup or message function in Pipedream so I wanted to create webpages for all potential errors.

Do you have suggestions how to do this? Thanks.