Bundle selenium app with browser?

Basically, I am going to distribute my Selenium program to several clients for automation purposes.

Instead of asking each client to install FireFox (and risk possibly incompatible versions), I would prefer that FireFox (or any other browser) be packaged in my program directory (possibly a portable version).

All my clients will use Windows btw.

Has anyone tried this or had any suggestions on how to do this?

EDIT: I suppose I could use PhantomJS with selenium and just pack my software using the phantomjs driver. It will not require any external browsers, right?

+4
source share
2 answers

You also have the HTMLUnit browser option without a browser. Please note that this has its own JavaScript rendering engine, so you need to make sure that your test will also work with "normal" browsers.

0
source

Another option is to use Selenoid and Docker for Windows. Your customers could download easily removable images using browsers (no need to clutter up Windows with browser files) and simultaneously run a test suite in several containers.

0
source

All Articles