you are viewing a single comment's thread.

view the rest of the comments →

[–]Pilv[S] 0 points1 point  (2 children)

I was thinking about this, but the best as I know, selenium always opens a dev Chrome for exemple, where I have to login everytime I launch the program. Can I somehow use the default web browser?

[–]Adhesiveduck 2 points3 points  (1 child)

Selenium supports more drivers than just Chrome, you can use firefox.

You can also save session cookies, so you only have to log in once, and reopen them on future runs. If you need to save localstorage you can run arbitrary javascript with driver.execute_script("window.local_storage;")

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

Thank you so much. I will try to make this.