-
Notifications
You must be signed in to change notification settings - Fork 49
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
Deprecation warning with headless fixture : how to use Splinter config #181
Comments
This warning comes clearly from splinter code. This is pytest-splinter repository. pytest-splinter is a thin layer over splinter to make it work easier with splinter. Please report this bug in splinter repository. |
After giving it a second of thought more, I see that this is rather pytest-splinter problem. Sorry, @Ruff9 I misunderstood you. |
How about you use splinter_driver_kwargs? Documented here: https://github.com/pytest-dev/pytest-splinter |
I just tried using
instead of
and the warning is still there. Both are working though, the browser is indeed headless with both fixtures. I can work with that. But to remove the warning, I would need to use a Config object, as the warning says. And I see no mention of it in the pytest-splinter docs. |
I'm using the
splinter_headless()
fixture, and I get this warning :How can I use a Config object with pytest-splinter ?
The text was updated successfully, but these errors were encountered: