php - Can I look for broken resources on my homepage with Codeception? -


i want make sure none of scripts / css / images failing. there this?

$i->wantto('verify resources loading'); $i->amonpage('/'); $i->seefailingresourcecountis(0); 

something fail if image can't loaded, or causes server error, etc.

in php can check if of files legit. ' />

but, cannot check if resources loads via php, because php handle creation of page.

you need use in javascript check successful loading of images, ecc.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -