3

I saved some information in localStorage, but after restarting, my script localStorage is empty. As I understand, for every start my script creates new localStorage.

Can I set path to localStorage directly? Maybe somebody knows where slimerjs saves localStorage on Windows 32?

I tried to use webpage.offlineStoragePath = "./"; but it not working, I don't see a localStorage file. Thanks for the help.

Wtower
  • 18,848
  • 11
  • 103
  • 80
Ivan Martinyuk
  • 1,230
  • 1
  • 9
  • 13

1 Answers1

3

The localStorage was empty because every start of slimerJs create new user.
You should create a permanent profile.

Artem Chernov
  • 856
  • 2
  • 8
  • 26