3

My Selenium server runs on a remote server. I launch my Selenium script from my local PC, which get data from a website.

For example, my Selenium script executes this JS code:

JSON.stringify(window.results)

It can be about 1 or 2 Mo!

Can I enable a compression on my selenium server, like gzip compression on Apache server?

Thanks!

  • I got the same question on the screenshot. A base64 encoded full screenshot could be 5MB or even bigger, the transfer between client and server is really slooooow. – MicroAleX Nov 18 '14 at 15:22

1 Answers1

-1

JavaScript implementation of Gzip

It seems that there isn't a great answer and any that would do large compression might take more time than actually transmitting the file itself.

Community
  • 1
  • 1
DMart
  • 2,401
  • 1
  • 14
  • 19
  • Not sure why I got a down vote... I'm sorry if you don't like the answer but that's how it currently works. – DMart Jan 05 '15 at 19:55