Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fixes for Selenium Browsing On Linux #2096

Merged
merged 3 commits into from
Apr 17, 2023

Conversation

sadmuphin
Copy link
Contributor

@sadmuphin sadmuphin commented Apr 17, 2023

Background

Users on Linux have reported issues with using selenium to open browsers. These fixes should help fix these issues.

Thanks to: timcperks#9664 for providing the flags.

Changes

Adds 3 flags when the detected system is linux:

  • --no-sandbox
  • --disable-dev-shm-usage
  • --remote-debugging-port=9222

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes

@hdkiller
Copy link
Contributor

What about this approach by giving platform specific examples in .env.template:

#2066

@Wetiqe Wetiqe mentioned this pull request Apr 17, 2023
5 tasks
@nponeccop
Copy link
Contributor

@cryptidv CI is red

@sadmuphin
Copy link
Contributor Author

@hdkiller It's a nice approach and offers more flexibility for the user. But wouldn't also just providing flags by default for linux users to fix issues be fine? Can have one with the other. I've also seen there's #2086.

@richbeales richbeales merged commit cd587bc into Significant-Gravitas:master Apr 17, 2023
@xmv-r
Copy link

xmv-r commented Apr 20, 2023

I am trying to set up auto-gpt on linux but in the zip files they is no .env.template appearing is it normal how can i find it?

sindlinger pushed a commit to Orgsindlinger/Auto-GPT-WebUI that referenced this pull request Sep 25, 2024
…selenium

Add Fixes for Selenium Browsing On Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants