TagUI icon indicating copy to clipboard operation
TagUI copied to clipboard

Run TagUI in headful mode in a docker container

Open vu29 opened this issue 3 years ago • 2 comments

I have some tagUI flows that I need to run in a docker container. Now the issue is that when running the flows in headless mode. I get an error saying that the browser is not supported (most likely a mechanism deployed to prevent bots), but running the same flow in headful mode works perfectly fine. So I need to run them in headless mode in docker. Is there any way I can acheive that ?

vu29 avatar Mar 20 '23 05:03 vu29

I needed the same solution, so I packaged it all into a container which is open-source and you are welcome to use: https://github.com/robocat-ai/robocat-base

Please note that it is not production ready and there are several undocumented features (you can check out parse_arguments function scripts/run.sh).

Feel free to open and issue there if you have any questions. I hope this will be helpful to you, cheers!

lexuzieel avatar Apr 01 '23 16:04 lexuzieel

your repository is fantastic. it is possible to enable it to work with ARM architecture

pp082 avatar Jun 26 '23 22:06 pp082

@pp082 I think it can run on Windows, macOS, Linux and Raspberry Pi, all platforms supported by its core JavaScript engine in PhantomJS. But if it is something not runnable for PhantomJS then cannot.

kensoh avatar Aug 19 '24 12:08 kensoh

Hi @lexuzieel and @lexuzieel you can run real browser using xvfb on Linux. You can see a Colab example on Ubuntu that I created for RPA for Python package, which runs TagUI underneath - https://colab.research.google.com/drive/1or8DtXZP8ZxJYK52me0dA6O9A1dXKKOE?usp=sharing

kensoh avatar Aug 19 '24 12:08 kensoh