Skip to content

Cookies set with StorageDomain.setCookies are not sent with Page.goto() #282

Open
@jschneider

Description

@jschneider

Version

5.3.1-1170846

What happened?

Since 5.0 "pageSession.network.setCookie" is deprecated.
I tried to replace it with pageSession.storage.setCookies(

The cookies seem to be set. At least pageSession.storage.getCookies( returns plausible values.

But the set cookies are not sent to the server when calling page.goto.

Setting the cookie the "old" way works as expected.

Another thing: I could not get the "expires" value to work. Maybe this is related?

Reproduction and additional details

No response

Kotlin target platforms

JVM, Kotlin 1.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions