-
Hey there! I'm experimenting with some browser automation using Domino. I can run my Domino piece and perform tasks within a Docker container with Selenium Remote WebDriver installed. Suppose I create a workflow using these components. Is it feasible to pull this Docker image from Docker Hub, execute all the components within this container, and only remove the container with Web Driver installed when the workflow is complete? What would be a better way to achieve this, if any? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
hey @tdari nice you are trying browser automation, good use case! |
Beta Was this translation helpful? Give feedback.
-
@tdari I understand your idea, but the "network event" implementation between pieces can be a little tricky in k8s and airflow, one way around is create a
and then connect this three pieces to "Chrome piece"
ChromePiece will be responsible for have the instance of selenium or pupperteer and evaluate the instruction in the order you want, and then export results (if apply) in the same order. Thats make sense for your solution ? |
Beta Was this translation helpful? Give feedback.
@tdari I understand your idea, but the "network event" implementation between pieces can be a little tricky in k8s and airflow, one way around is create a
chrome instance piece
who recive an array of instructions and evaluate then in order, something like:and then connect this three pieces to "Chrome piece"
ChromePiece will be responsible for have the instance of selenium or pupperteer and evaluate the instruction in the order you want, and then export results (if apply) in the same order.
…