Deprecation of positional arguments on Import
, New Browser
, New Context
& New Persistent Context
#2328
Labels
Milestone
Positional arguments are nice when there are three or four.
But Keywords like
New Context
have 30 or even more arguments.Positional arguments are totally useless in that case.
But named arguments are pretty good.
The problem was, that because we had normal arguments, they could be used positional and named.
Therefore the order was fixed. We could not order them alphabetically or add a new arguments somewhere in the middle.
The fix is to switch all arguments to "named-only-arguments"!
We are hereby deprecating positional arguments (or the most of them) on the before mentioned keywords.
They can still be used in the old order, but shall be changed to positional arguments asap.
Support will be remove early 2023.
fixed in #2308
The text was updated successfully, but these errors were encountered: