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