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
Headless Firefox #144
Headless Firefox #144
Conversation
@mpasternak as it's merged looks like, will you bump the splinter version up in the requirements? |
@bubenkoff I'd love to, but the version in splinter repo is 0.13.0 (changed 4 months ago) and it is also the latest version on PyPI. I guess the next pytest-splitner version will be 0.13.1 or 0.14.0. Looks like I need to change pytest-splinter requirements to "splinter>0.13.0", is that okay with you? This will effectively block working releases of pytest-splinter until splinter gets the new release done... |
Add support for Django client and Flask drivers.
@bubenkoff Hey, how are things. Any progress on this issue? Looks like someone else also submitted a PR about --headless for Firefox... |
sorry for the late response, on your question about splinter>0.13.0 -> definitely a good idea then, please proceed |
Splinter version bumped, please re-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a changelog record and add yourself to authors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a changelog record and add yourself to the authors and resolve the conflicts
* Simplify --splinter-headless Not entering --splinter-headless infers False (this is backed by default values in pytest-splinter and probably user intuition). Entering --headless implies the user wants to run in headless mode. * Document --splinter-headless behavior Without argument, behavior is unchanged. `--splinter-headless` without arguments defaults to 'true'. Optionally false or true can be passed. * Update authors and changelog
@bubenkoff Done, thanks |
@mpasternak broken tests? |
@mpasternak also looks like in the PR it displays the changes which are already in master |
What do you mean "PR displays changes which are already in master"? I remember that I saw some headless Firefox patches merged from #123 , are those this changes you're talking about? I did --rebase, but I don't have much experience with it. If there's anything that I broke let me know. Should I remove my fork and re-apply those patches? |
if you look here: https://github.com/pytest-dev/pytest-splinter/pull/144/files, you'll see the changes definitely not made by you |
@mpasternak linters still fail - the easiest fix is just to run black over the code:
|
TBH this trivial and small change because of my lack of knowledge how rebase works grew up to be a much harder problem. Would you suggest re-starting this branch again from scratch or is it still salvageable at this point? What's your idea on that? |
@mpasternak: if you give me ( |
@mpasternak tests are failing please check |
Based on @mpasternak's work in pytest-dev#144
I've reapplied changes proposed in this PR on top of latest master and opened a new PR: #152 |
Thanks @zupo, I hope this gets committed |
Based on @mpasternak's work in #144
implemented in 3.3.0 |
Hi,
after
splinter
gets the change from cobrateam/splinter#677 commited, this patch will give you headless Firefox.