Skip to content

Deprecation warning with headless fixture : how to use Splinter config #181

@Ruff9

Description

@Ruff9

I'm using the splinter_headless() fixture, and I get this warning :

.../venv/lib/python3.10/site-packages/splinter/browser.py:92: DeprecationWarning:
Sending fullscreen, incognito, headless, user_agent to the browser object has been deprecated.
Please pass in a Splinter Config object instead.See: https://splinter.readthedocs.io/en/latest/config.html
for more details
    return driver(config=config, *args, **kwargs)

How can I use a Config object with pytest-splinter ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions