We are trying to use the chrome profiles in a Linux machine to persist some user behaviour in the tests. We are using this path to get the user profile: /home/circleci/.config/google-chrome/Default but we always end up with this error:
2022-03-02T21:05:38.855Z ERROR @wdio/utils:shim: Error: ENOENT: no such file or directory, scandir '/home/circleci/.config/google-chrome'
[log] [0-0] at Object.readdirSync (fs.js:1047:3)
[log] [0-0] at getUserProfiles (/home/circleci/project/lib/profile/index.js:70:6)
[log] [0-0] at launchAppWithUserProfile (/home/circleci/project/support/utils/app.utils.js:148:24)
[log] [0-0] at Object.before (/home/circleci/project/wdio.conf.js:184:13)
[log] [0-0] at /home/circleci/project/node_modules/@wdio/utils/build/shim.js:30:27
[log] [0-0] at new Promise (<anonymous>)
[log] [0-0] at /home/circleci/project/node_modules/@wdio/utils/build/shim.js:27:47
[log] [0-0] at Array.map (<anonymous>)
[log] [0-0] at Object.executeHooksWithArgsShim (/home/circleci/project/node_modules/@wdio/utils/build/shim.js:27:33)
[log] [0-0] at Runner.run (/home/circleci/project/node_modules/@wdio/runner/build/index.js:95:23)
so my question is what’s the right path?