-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
delete 'lock' file in FF profile #13090
Conversation
It seems several files have been added, while the change applies only to a few. Can you please check and submit only the change set that was intended? |
@diemol sorry I should have explained. The last 2 files are the test and functionality change. All the new files are a Firefox (v119) profile I've added to I could try and figure out what is unnecessary for the test and trim the profile files, assuming FF doesn't need them all. |
We are moving away from profiles and recommending to use preferences. We'll definitely not add those files that belong to a profile. |
There are things that cannot be done with preferences, and I think there has been some miscommunication on what Firefox is doing and what they request users to do — mozilla/geckodriver#1656 (comment) That said, there is no way for us to know if the next version of Firefox changed the profile structure slightly and what we have would break things or need to be updated. The potential maintenance costs are too high. |
Understood, I guess there are 2 choices then:
My own view is that using an existing profile is very useful, can work with this tiny change (one word) and therefore ought to be supported and tested. If there are no objections I'll edit the PR to do 2). |
c368aa0
to
ab248b1
Compare
Gone for option 1) for now to fix #11576. Will do new PR with a test once I figure out how to create a FF profile directory in a test. |
Exising profile model can now be used to instantiate FF profile Fixes SeleniumHQ#11576
b729716
to
0dd09b5
Compare
So this now fails on Windows with
I can edit the test code to rescue this, but I'd guess this problem is CI not having the correct env vars. If that is right can someone add APPDATA to the win environment? Thx. |
Weird, even this indicates it should be available: https://stackoverflow.com/questions/75669170/getting-the-appdata-roaming-folder-inside-windows-github-action |
Maybe we try |
Can't get test to pass in CI and can't spend any more time on this so have reverted to simple change to delete the 'lock' file to fix #11576 |
Sorry I haven't had time to look at the failures. Nothing looks obvious for why it isn't happy 😦 |
No worries @titusfortner it has passed once with my final commit so the failures are intermittent ones 😄 |
Exising profile model can now be used to instantiate FF profile
Fixes #11576
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist