Yann "Bug" Dubois

Développeur WordPress freelance à Paris
Flux RSS

Archives de 23 August 2012

Use Xvfb, Selenium and Chrome to drive a web browser in PHP

23 August 2012 Par : Yann Dubois Catégorie : English, tech 1 Commentaire →

The PHP language can be used to remote-control an actual web-browser on a server, to allow server-side scripting of complex web interactions involving for example Javascript of Flash-enabled content. This is a very powerful context, but it is tricky to setup. In addition, a proxy such as Squid can be used to log all http interactions, and can be used as an in-depth traffic analysis or debugging tool. This environment can be used for automated web debugging, continuous integration, unit-testing based web development, non-regression testing, load tests, automated screenshots, etc. Here is a quick setup memo for a running environment under Debian Linux (headless server).

Lire la suite »



amintoto slot gacor slot gacor 4d toto slot slot gacor slot gacor pay4d slot slot gacor maxwin slot gacor toto slot login toto slot demo slot gacor slot deposit qris slot gacor 4d slot gacor gampang menang toto slot restoslot4d slot gacor 4d sakuratoto2 situs toto slotgacor4d toto macau totoagung idn slot restoslot4d pay4d slot qdal88 situs gacor situs toto slot situs toto sakuratoto3 situs toto restoslot4d sakuratoto amintoto situs pay4d toto slot cantiktoto rusa88 idn live rusa88