Hugo C.
[Solved] Browser automation self-hosted: python example for initial login
for your use case, you could try using an approval step in a flow, but you need to find a way to save the browser state in the first step so that you can restart from there in the next step
14 replies
PHP scripts are slow to run
Composer install is run on each run using the composer lockfile which is generated on deployment. We use standard composer caching (cache folder is /tmp/windmill/cache/composer) and you will get speed gain if the package is already in there. You can test that by running
rm -rf /tmp/windmill/cache/composer/files/willdurand
inside the worker containers (which should make the script >2x slower). The script is still "slow" because of the composer install but the packages are cached.
Bun caching is better optimized and allows us to skip bun install. We might consider in the future to do something similar for php/composer (cc @rubenf wdyt?)14 replies