Server-side web browser for PHP?

If you want to recreate the server side of the DOM and manage it in PHP, how would you decide to do this?

I am looking for a fast, multi-user full server web browser that can interact with PHP and run full Javascript.

Like Jaxer, but something that I can use with PHP ... the extension will be fine or even an Apache modem.

Ideas?

+3
source share
4 answers

I would run Firefox on an Xvfb instance and make sure the MozRepl plugin is installed .

MozRepl PHP ( Perl, API, PHP ).

+3

- PHP, javascript, , SimpleTest . SimpleTest, .

Otherwise, the best choice is probably Firefox's remote control or Webkit-based browser. You can use Xvfb (X virtual frame buffer) for Linux systems to run graphical programs in a scripting environment.

+1
source

Node.js is causing some hesitation at the moment. It might be worth a look for more.

+1
source

Source: https://habr.com/ru/post/1736967/


All Articles