Session Scope Fixture CLI Option
Per the explanation on this issue: https://github.com/pytest-dev/pytest-selenium/issues/273
Driven by a need to perform a large number of regression tests on a legacy app by obtaining a cookie using Selenium and then essentially calling the app's API end-points to run actual tests I wanted to be able to have the Selenium fixture last the whole test session as it is by far the slowest part of any given test.
Hopefully folks are happy with this approach. Please let me know if there might a preferred method to solve this problem.
Thanks!
I need to wrap my head around this. But first I need to fix CI.
Could you please rebase? 🙏
Hello. I will greatly appretiate this feature!
Hi @BeyondEvil and @dosas.
Please accept my apologies for the delayed response to this - unfortunately I left the job where I had needed this in October so I had not really been paying attention.
I'll try to get back into this in the next week or two and have some answers to your questions and re-work as soon as I can.
Thanks for your patience and apologies again!