https://github.com/SeleniumHQ/selenium#requirements
Here are some additional details re: requirements for building IEDriver:
- Visual Studio (e.g., 2019)
- MSVC v141 - VS 2017 C++ x64/x86 build tools
- C++ ATL for v141 build tools (x86 & x64)
- Windows SDK (e.g., Windows 8.1)
After installing Visual Studio you can select additional packages by clicking "Tools", and then "Get Tools and Features". From here you can select either "Individual components" and choose the specific packages to install, or, you can pick a grouping of packages from the "Workloads" tab (e.g., Desktop development with C++). But this won't necessary get you all of the packages you need (e.g., the right package but the wrong version for it).
You should then be able to either build the project from Visual Studio, or with go ie
from the command-line. See go -T
for a list of available tasks.
NOTE: Running the tests was hit-or-miss (e.g., go test_ie
). They ran, but with unexpected failures across the board. Need to look into why.
NOTE: If building on a Windows VM, don't build from shared drive between the host and guest OS. It will lead to memory corruption and system crashes. Do a git clone
of the repo to the disk on the guest OS and build from there. It will be more reliable, and faster.
subtext:
- https://jimevansmusic.blogspot.com/2017/03/
- https://github.com/SeleniumHQ/selenium/commit/e60b607a97b9b7588d59e0c26ef9a6d1d1350911?diff=split#diff-86422eb93ac0a5be50dc4d76c5d38f5e
end result: