Skip to content

[DOCS] autoLogin example with local storage has error #1545

@RikdeVos

Description

@RikdeVos

If I use the example in the docs the restore function of autoLogin always fails.

The docs state:
I.executeScript(() => localStorage.setItem('session_id', session), session);

Instead it should be
I.executeScript((session) => localStorage.setItem('session_id', session), session);

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