axe.write_results('a11y.json', results) failing
Closed this issue · 2 comments
mudgil commented
with open(name, "w", encoding="utf8") as f:
TypeError: expected str, bytes or os.PathLike object, not dict
I upgraded to axe_selenium_python version 2.1.2 from the version 2.1.1, and the error still occurs.
kimberlythegeek commented
Hi @mudgil , thanks for catching this! I recently made some changes to the write_results method, and the example in the README is out of date. I'll be opening a pull request shortly to update this.
kimberlythegeek commented
see #151
Once I get a review I'll be able to merge, and upload v2.1.3 to pypi