Playwright #8249

Closed
opened 2026-02-21 18:24:42 -05:00 by yindo · 3 comments
Owner

Originally created by @JivinSardine on GitHub (Feb 13, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

As I tried to locally install Playwright and use it in the Dify sandbox it was tedious and believe me I have still not found an answer. A tool or a plugin would be very nice like it is a long shot.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @JivinSardine on GitHub (Feb 13, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. As I tried to locally install Playwright and use it in the Dify sandbox it was tedious and believe me I have still not found an answer. A tool or a plugin would be very nice like it is a long shot. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🔨 feat:tools label 2026-02-21 18:24:42 -05:00
yindo closed this issue 2026-02-21 18:24:42 -05:00
Author
Owner

@crazywoola commented on GitHub (Feb 13, 2025):

I will close https://github.com/langgenius/dify/issues/13696 you opened and keep this open for now.

The sandbox https://github.com/langgenius/dify-sandbox/blob/main/FAQ.md has some restrictions on installed packages, you can view the FAQ to find out why,

Also, you can try it later once we release the v1.0.0

@crazywoola commented on GitHub (Feb 13, 2025): I will close https://github.com/langgenius/dify/issues/13696 you opened and keep this open for now. The sandbox https://github.com/langgenius/dify-sandbox/blob/main/FAQ.md has some restrictions on installed packages, you can view the FAQ to find out why, Also, you can try it later once we release the v1.0.0
Author
Owner

@dosubot[bot] commented on GitHub (Mar 17, 2025):

Hi, @JivinSardine. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You are experiencing difficulties with installing and using Playwright in the Dify sandbox.
  • You suggested the need for a tool or plugin to simplify this process but are not interested in developing it yourself.
  • Crazywoola closed a related issue and recommended checking the sandbox FAQ for package restrictions.
  • It was suggested to try again after the release of version 1.0.0.

Next Steps:

  • Could you please confirm if this issue is still relevant with the latest version of the Dify repository? If so, feel free to comment to keep the discussion open.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Mar 17, 2025): Hi, @JivinSardine. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - You are experiencing difficulties with installing and using Playwright in the Dify sandbox. - You suggested the need for a tool or plugin to simplify this process but are not interested in developing it yourself. - Crazywoola closed a related issue and recommended checking the sandbox FAQ for package restrictions. - It was suggested to try again after the release of version 1.0.0. **Next Steps:** - Could you please confirm if this issue is still relevant with the latest version of the Dify repository? If so, feel free to comment to keep the discussion open. - If there is no further activity, this issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Author
Owner

@eiko4 commented on GitHub (Apr 10, 2025):

@crazywoola What does the sandbox have to do with it?

Playwright can work inside docker.
Chrome Headless can also run in docker.

There is no computer use agent in your solution - to emulate a mouse (for this you need to raise firefox and ubuntu inside docker) - look at how anthropic did it.

But at least selenium/puppeteer/playwright should be added.

Right now, I can't even ask Dify to search for where to order pizza without using a third-party api.

For some reason, I need to pay another company spider.cloud or fastcrawl.dev for such a basic task.

@eiko4 commented on GitHub (Apr 10, 2025): @crazywoola What does the sandbox have to do with it? Playwright can work inside docker. Chrome Headless can also run in docker. There is no computer use agent in your solution - to emulate a mouse (for this you need to raise firefox and ubuntu inside docker) - look at how [anthropic](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo) did it. But at least selenium/puppeteer/playwright should be added. Right now, I can't even ask Dify to search for where to order pizza without using a third-party api. For some reason, I need to pay another company spider.cloud or fastcrawl.dev for such a basic task.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8249