I'm making autotest with Selenium and Laravel. It's good, but there is a problem with the cookies. I must be logged in every time I run my autotest for website scraping. I want to maintain my login information, so I used the code below in Selenium to store the cookie information for the website.
$driver->manage()->getCookies();
but, there are many cookies in multiple domains, but only cookies from a particular domain are stored. Current connection page
I don't know how to store cookies of all the domains in the cookie list.