I have installed erpnext locally and used it with the localhost URL. I want to automate the software using selenium. But due to security, the software asks for login again and again. Is there any way to access the software without actually logging in as an administrator?
yes, I am logging via selenium at the start.
The session limit is also long enough
When I log in via selenium the driver.currentURL is still stuck on the login page whereas in the frontend I am directed to the homepage. And I am unable to figure out how to proceed.
ALso is there a way such that it did not at all ask for login credentials when we navigate to any link.
If you’re automating some process you’re better off using FrappeClient (REST API) or python interface.
If you’re writing a test suite then just follow what Frappe’s Cypress test suite does for automating login: https://github.com/frappe/frappe/tree/develop/cypress/support
I want to fill the tables like staffing plan with random validated data using the frontend forms.
Is there a better way to do this?