简体   繁体   中英

Laravel 5 codeception functional testing, wait for full page load

I am trying to write a functional test using codeception for Laravel 5. Fails to validate elements loaded by JS. How do I wait for all JS to be run and the page to be fully loaded. It this achievable?

You should use Selenium for this. Laravel has Selenium support out of the box (though you'll still need to download the Selenium standalone server and have Java installed)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM