Captain.Camie
Captain.Camie14mo ago

Is Browser Automation Possible?

Hi Guys, I'm new to buildship, and I'm wondering if it is possible to run a headless browser within buildship? Probably with an NPM package like puppeteer. Is this possible in BuildShip?
8 Replies
Shams
Shams14mo ago
Hi @Captain.Camie because puppeteer requires chromium to run, it does use up more ram to run might interfere with other workflows or just not work, we do have something in the works for browser automation that uses puppeteer on separate instance so it doesn’t effect the workflows performance . So just keep an eye out on the newsletter it should be out in week or so
protoys
protoys14mo ago
currently there is axios which you can use. It works but ofc cannot handle dynamic content (js generated) or use puppeteer's stealth mode.
Captain.Camie
Captain.CamieOP13mo ago
@Shams thanks for the feedback @protoys thanks @Shams One more thing. I'm experiencing an issue where I have a node to query a firebase collection. The node is set up to get only 1 document. I get the expected document. The node is also set up to output the document ID. I get the ID as expected when I run the node alone, but when I try to return the ID or use it in another node, it turns out to be empty [] Is there any fix for this?
Harini
Harini13mo ago
Cc @Bhavya ✨ can you help with this
Bhavya
Bhavya13mo ago
Hey @Captain.Camie, I used the Firestore Collection Query node and returned the Document ID field from the Context Menu, but I wasn't able to replicate this issue. Could you confirm this method doesn't work as expected? Perhaps could you send a support request from the buildship.app itself along with a copy of the workflow so that I can take a deeper look?
Support Messages – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
No description
No description
Captain.Camie
Captain.CamieOP13mo ago
@Bhavya ✨ Maybe I'm just setting it up all wrong. I'll try again. If it still doesn't work, then i'll open a suport request. Also, just for ccontext, I'm using an external firebase, not the native one in buildship.
Bhavya
Bhavya13mo ago
No worries! You can refer to this tutorial on connecting your own Firebase project to BuildShip: https://docs.buildship.com/tutorials/firebase-project#option-2-connecting-to-your-own-firebase-project. Feel free to ping me if you have any further doubts 😄
Connecting to your Firebase Project – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Captain.Camie
Captain.CamieOP13mo ago
The connection is all good. Thanks for your help tho... It is greatly appreciated 🙏

Did you find this page helpful?