[🐛 Bug]: Firefox ProfilesIni.readProfiles() does not handle files written in UTF-16 (?)
See original GitHub issueWhat happened?
Firefox ProfilesIni.readProfiles() does not handle files written in UTF-16, I think. The following line ignores the encoding bytes at the front of the file.
How can we reproduce the issue?
The following code returns `null` even though the profile is correct.
new ProfilesIni().
getProfile("nathan");
### Relevant log output
```shell
Not applicable
Operating System
Windows 11
Selenium version
Java 3.141.59
What are the browser(s) and version(s) where you see this issue?
Firefox 97.0.2
What are the browser driver(s) and version(s) where you see this issue?
GeckDriver 0.30.0 win64
Are you using Selenium Grid?
No
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
What causes the profiles.ini file to become unusable?
I started firefox, and got a message saying my profile could not load. ... was a permission problem (read/write/owner) with profiles.ini.
Read more >Firefox won't start - can not find profile. Continually happens ...
Every time I start Firefox, the application gives me the error that it is missing the profile. I can got to the windows...
Read more >How to run Firefox when your profile is missing or inaccessible
It may be missing or inaccessible it usually means that Firefox can't find or access the profile folder. This article explains what to...
Read more >Firefox doesn't start if installs.ini or profiles.ini attribute is set to ...
The purpose is to always have the same default profile. Is the profile.ini file has a read-write access the selected profile is the...
Read more >What does "Locked=1" in profiles.ini do? | Firefox Support Forum
As can be seen under the default profile listing is the locked=1 line or setting. So does this lock the profile so no...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will close this but happy to reopen in case more information is provided.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.