Guest User

Untitled

a guest
Jun 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. use JonnyWPhantomJsClient;
  2. $client = Client::getInstance();
  3. $client->isLazy(); // Tells the client to wait for all resources before
  4. rendering
  5. $request = $client->getMessageFactory()->createRequest();
  6. $request->setTimeout(5000);
Add Comment
Please, Sign In to add comment