Skip to content

[BrowserKit] Reinitialize server parameters when the browser is restarted #48442

Closed
@syl20b

Description

@syl20b

Description

Hi,

I'm using Behat to run tests.
I need to add some extra server parameters for some scenario (using Symfony\Component\BrowserKit\AbstractBrowser::setServerParameter() method), but those server parameters are never reinitialized when the client is restarted (for each scenario).

Is there a reason for not re-initialize the $server property in the Symfony\Component\BrowserKit\AbstractBrowser::restart() method ? If not, could it be possible to add such a feature ?

Thank you

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BrowserKitRFCRFC = Request For Comments (proposals about features that you want to be discussed)Stalled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions