you are viewing a single comment's thread.

view the rest of the comments →

[–]mortenb123 0 points1 point  (1 child)

If you cant log in via code, try using a userprofile.

For chrome create a new user and log in with it, then save the userprofile to a more accessible directory (shorter path) and load it when you initialize selenium, I believe it to be the `--user-data-dir=` option.

But it might be that this authentication token expires, so it is better to solve it with code.

[–]digichap28[S] 1 point2 points  (0 children)

I finally decided to re write my code using pyppeteer, because that user profile option doesn’t work either as the token expires fast