- Execution is on a 64-bit version of Windows. To maintain continuity, we will be keeping almost everything "bit-aligned" so that executables and libraries will all be 64-bit.
- The one possible exception to this is for Internet Explorer's Selenium Driver. See why that is below.
- Download the appropriate browser drivers:
- For Google Chrome - the latest Chromedriver executable can be found here. The downloadable file will always be named
chromedriver_win32.zip
, and must be decompressed for use (the executable beingchromedriver_win32.exe
). - For Microsoft Internet Explorer, you may select the appropriate bit version for your workstation (almost certainly the 64-bit version) from the Selenium HQ site. As of this writing, the latest 64-bit version was 4.6.0.0. However, there is (was?) a known bug that causes sending keys (to emulate a user typing) to be extremely slow. Therefore, as of this writing, it is recommended you use the 32-bit version of the driver (version 2.53.1 here)
- Mozilla Firefox does not require an external driver - it comes with Selenium "hooks" built in.
- Unzip the file(s) and place the executable(s) (
chromedriver.exe
and/orIEDriverServer.exe
) somewhere that it makes sense to put in your Path system variable. Here are instructions on how to add a path so that is accessible system-wide. The author's recommendation is to create a directory namedbin
at the root of the C drive. This allows you to add other simple executables in the same directory, which can be invoked from then on (once you add this directory to the Path). - You will almost certainly need to download and install the Microsoft Visual C++ Compiler for Python.
Assuming you have already set up the driver for Internet Explorer (see above), there are two additional steps you need to take in order to have IE function as a web client for testing:
- You must launch Internet Explorer and verify that the zoom level is set to exactly 100%. For instructions on how to verify that, see this page.
- You must have Protected Settings enabled for all security zones. An article here will explain in more detail, but the salient setting is depicted in this picture: