-
Notifications
You must be signed in to change notification settings - Fork 343
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
Create profile directory if it doesn't exist and --profile-create-new
has been combined to the -p
cli option
#2058
Comments
Having this behavior as an optional opt-in feature, e.g. enabled by a new |
mentor: @rpl To fix this issue we want to:
We should also double-check the behavior of the similar Follows some of the web-ext source code that may be interested by this change:
|
--profile-create-new
has been combined to the -p
cli option
Hi @rpl |
@akhilpanchal Sure thing! Given that this would be your first contribution, I suggest you to also:
After that you should make sure to be able to reproduce (and then understand) the issue described in this issue, and then look to the pointers provided in #2058. Feel free to ask for help if you have any specific questions or issues. |
@rpl is it okay if I work on this issue as well? |
@ankushduacodes I have already started working on this issue. I should have a PR soon. |
@rpl Is the expectation to create a directory and also create a new Firefox Profile in this directory? |
For my use case, the latter would be preferable. The profile gets created if it doesn't already exist. |
@akhilpanchal Let's start with doing that (and create a new test case to cover those changes), as part of the pull request review we will also double-check (while looking to the actual changes) if there is anything more that should be done. |
I saw this got released with 5.4.0 and just started using it. Thank you to everyone who helped out with this! |
Is this a feature request or a bug?
Feature request
What is the current behavior?
Today, if I pass a profile that does not exist, the
web-ext run
command fails:What is the expected or desired behavior?
It would be nice if there was a flag to create the profile if it doesn't exist. Even better, it would be nice to be able to pass a directory to create the profile in.
I'm able to work around this in my launch script:
Version information (for bug reports)
The text was updated successfully, but these errors were encountered: