Closed Snooz82 closed 7 months ago
René, do you catch this with a linker/black?
@emanlove yes linter do catch this.
i can highly recommend ruff
as a linter. It is amazingly fast and replaces isort and works well with black.
you can start with the config that Browser lib has in its pyproject.toml.
Fixed in #1859
In src/SeleniumLibrary/keywords/browsermanagement.py
the dictionary in kwargs should be replaced by
None
https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/