The IE driver will use whatever version of IE is installed on the machine. There is no supported way to run multiple versions of IE on the same operating system installation. While there are solutions that claim to do so, they are all lacking in some way. Even using different document modes are not perfect, and there is no way in the IE driver to programmatically set the document mode.
The way to run different versions of IE with the IE driver is to use a different Windows installation for each version of IE you want to run against. Virtual machines are a wonderful approach to this.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…