Skip to content

Update Selenium to avoid session creation errors #30

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

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Conversation

fatimarahman
Copy link
Contributor

@fatimarahman fatimarahman commented Feb 19, 2025

As per this last weekend's errors, OverDrive on occasion throws up this error: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir

The change reflects the Selenium deprecation of the headless option.

Copy link
Contributor

@aaronfriedman6 aaronfriedman6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice (especially the README changes)! Approving but please wait to deploy until https://github.com/NYPL/overdrive-checkout-poller/pull/12 is deployed to prod and we know --headless=new doesn't break anything

@fatimarahman
Copy link
Contributor Author

The OD poller ran successfully in QA and prod! There might be a mismatch between the 2/19 records bc of the deployments but I will fix that tomorrow

@fatimarahman fatimarahman merged commit 4452002 into main Feb 19, 2025
2 checks passed
@fatimarahman fatimarahman deleted the update-selenium branch February 19, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants