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 edge to browser options for selenium #1988

Closed

Conversation

Amraki
Copy link

@Amraki Amraki commented Apr 16, 2023

Background

I received errors related to selenium not locating the default chrome binary.
Instead of installing it and possibly troubleshooting file paths, I wanted to use my current browser.

Changes

Added 'edge' as a browser option for selenium.

Documentation

Updated .env.template to reflect the additional option. Kept changes consistent with existing code.

Test Plan

Auto-GPT has opened a new MS Edge browser instance, navigated to the provided URL, scraped the content, and closed the browser instance. This has successfully occurred in multiple runs without related errors.

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

@sadmuphin
Copy link
Contributor

While you're at it can you also add opera? Just to complete everything lol

@Amraki
Copy link
Author

Amraki commented Apr 16, 2023

I can look it up, but I can't test it myself.

Also, I just noticed a few changes that aren't mine. Mostly likely from the last pull I did. Still new to PR's and first time doing it from VS Code. I'll try to fix.

nponeccop
nponeccop previously approved these changes Apr 16, 2023
@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Apr 17, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

1 similar comment
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Apr 17, 2023
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@nponeccop nponeccop added the B8 label Apr 18, 2023
@github-actions github-actions bot added conflicts Automatically applied to PRs with merge conflicts labels Apr 18, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

2 similar comments
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Apr 19, 2023
@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@Amraki Amraki requested a review from nponeccop April 19, 2023 05:15
@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Apr 19, 2023
@github-actions
Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@ntindle ntindle added the conflicts-help Needs help merging label Apr 21, 2023
@p-i-
Copy link
Contributor

p-i- commented May 5, 2023

This is a mass message from the AutoGPT core team.
Our apologies for the ongoing delay in processing PRs.
This is because we are re-architecting the AutoGPT core!

For more details (and for infor on joining our Discord), please refer to:
https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting

@anonhostpi
Copy link

While you're at it can you also add opera? Just to complete everything lol

Not recommended. Create a separate PR. See:

image

@Boostrix
Copy link
Contributor

Boostrix commented May 7, 2023

Note this looks like a useful change to be reviewed/integrated despite the ongoing re-arch effort, it's primarily config-level, with very few code changes. So definitely do consider for review/integration to help close some PRs. Thanks

@anonhostpi
Copy link

anonhostpi commented May 7, 2023

While, I do agree that this probably has no affects on the rearch, as chrome is available at the moment, I think this is low priority until after the rearch.

This could also open a whole new can of worms with webdriver. This repo keeps running into problems with getting chromedriver to cooperate. Adding msedgedriver to the mix probably isn't a good idea right now.

Though I do think we still inevitably need this. I just feel like a better time to propose this would be after the rearch and after the issues with chromedriver have been mitigated.

@anonhostpi anonhostpi mentioned this pull request May 7, 2023
5 tasks
@vercel
Copy link

vercel bot commented May 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview May 13, 2023 9:02pm

@github-actions
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@github-actions github-actions bot added size/s and removed conflicts Automatically applied to PRs with merge conflicts labels May 13, 2023
@vercel vercel bot temporarily deployed to Preview May 13, 2023 20:22 Inactive
@codecov
Copy link

codecov bot commented May 13, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.03 ⚠️

Comparison is base (2f7beeb) 60.84% compared to head (3a18a16) 60.81%.

❗ Current head 3a18a16 differs from pull request most recent head 5db3035. Consider uploading reports for the commit 5db3035 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1988      +/-   ##
==========================================
- Coverage   60.84%   60.81%   -0.03%     
==========================================
  Files          73       73              
  Lines        3315     3318       +3     
  Branches      543      544       +1     
==========================================
+ Hits         2017     2018       +1     
- Misses       1160     1161       +1     
- Partials      138      139       +1     
Impacted Files Coverage Δ
autogpt/commands/web_selenium.py 84.26% <33.33%> (-1.78%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@k-boikov k-boikov self-assigned this May 13, 2023
@github-actions github-actions bot added size/xl and removed size/s labels May 13, 2023
@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 200 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size

@k-boikov
Copy link
Contributor

Closing in favor of #3058

@k-boikov k-boikov closed this May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts-help Needs help merging size/xl
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

8 participants