[PR #109] [CLOSED] Handle WebDriver session more robustly #120

Closed
opened 2026-03-02 04:06:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/109
Author: @ayan4m1
Created: 2/18/2025
Status: Closed

Base: mainHead: fix/firefox-profile-init


📝 Commits (2)

  • 6f1ed21 use webdriver.FirefoxProfile instead of -profile argument
  • 79e045a stop AFM service before starting Twitter service for AFM posts

📊 Changes

2 files changed (+11 additions, -4 deletions)

View changed files

📝 src/classes/AFM.py (+8 -2)
📝 src/classes/Twitter.py (+3 -2)

📄 Description

Currently, there is an issue where the Twitter selenium service cannot init because the AFM selenium service is still running. This PR fixes that, and uses the webdriver.FirefoxProfile method of setting the profile instead of adding a -profile argument to the CLI for consistency, because it is used elsewhere in the codebase.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/109 **Author:** [@ayan4m1](https://github.com/ayan4m1) **Created:** 2/18/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/firefox-profile-init` --- ### 📝 Commits (2) - [`6f1ed21`](https://github.com/FujiwaraChoki/MoneyPrinterV2/commit/6f1ed21b4646029b3bb180455751a1e56c0c3186) use webdriver.FirefoxProfile instead of -profile argument - [`79e045a`](https://github.com/FujiwaraChoki/MoneyPrinterV2/commit/79e045a49618c1be772117cc1da61f7de88616f4) stop AFM service before starting Twitter service for AFM posts ### 📊 Changes **2 files changed** (+11 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/classes/AFM.py` (+8 -2) 📝 `src/classes/Twitter.py` (+3 -2) </details> ### 📄 Description Currently, there is an issue where the Twitter selenium service cannot init because the AFM selenium service is still running. This PR fixes that, and uses the `webdriver.FirefoxProfile` method of setting the profile instead of adding a `-profile` argument to the CLI for consistency, because it is used elsewhere in the codebase. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:06:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#120
No description provided.