[PYTHON] How to test each version of IE using Selenium in modan.IE (VM)

A virtual environment for testing IE called modern.IE is available for free for 90 days, so you can use it to test each version of IE ** Be sure to observe **

Before building the environment

VMplayer First install VM player https://my.vmware.com/jp/web/vmware/free#desktop_end_user_computing/vmware_player/6_0|PLAYER-607|product_downloads

modern.IE For win environment, be sure to download for VM with IE ** https://www.modern.ie/ja-jp

After downloading, answer and execute the .ovf file Import and complete.

Environment

Add network adapter

Manage from Player on the top left → Add in Virtual Machine Settings Select the network adapter, ** Be sure to select NAT ** to add.

Install python

Install python https://www.python.org/downloads/release/python-2710/ Install Windows x86 MSI installer

Path Through Python Path Start the command prompt with administrator privileges. SETX /M PATH "%PATH%;C:\Python27;C:\Python27\Scripts;"

pip install Run pip install selenium on the command line

I need IEdriver, so I will get it, but be sure to download 32bit **. http://selenium-release.storage.googleapis.com/index.html

Direct link at the time the article was written http://selenium-release.storage.googleapis.com/2.46/IEDriverServer_Win32_2.46.0.zip

Environment construction completed

I wrote that, but it seems that a friend made it so that this series of processing can be automated. https://github.com/prprhyt/PythonSeleniumIEDriverSetup

reference

I tried launching modern.IE with VM that can create the execution environment of Internet Explorer as a virtual machine http://hotuta.hatenablog.com/entry/2015/06/22/135828

Until you launch IE with Selenium in modern.IE http://hotuta.hatenablog.com/entry/2015/06/17/162230

development

How to read an excel file with Selenium + xlrd and perform a browser test http://hotuta.hatenablog.com/entry/2015/07/11/161227

Recommended Posts

How to test each version of IE using Selenium in modan.IE (VM)
How to find the cumulative sum / sum for each group using DataFrame in Spark [Python version]
How to determine the existence of a selenium element in Python
How to create a large amount of test data in MySQL? ??
How to check the version of Django
How to use Google Test in C
How to check opencv version in python
[TensorFlow 2.x compatible version] How to train a large amount of data using TFRecord & DataSet in TensorFlow (Keras)
How to keep track of work in Powershell
Summary of how to import files in Python 3
Summary of how to use MNIST in Python
How to deal with SessionNotCreatedException when using Selenium
How to specify TLS version in python requests
How to test interactive problems in competitive programming (using mkfifo and coloring output)
How to unit test a function containing the current time using freezegun in python
How to count the number of occurrences of each element in the list in Python with weight
[Implementation explanation] How to use the Japanese version of BERT in Google Colaboratory (PyTorch)
How to get the number of digits in Python
How to auto-submit Microsoft Forms using python (Mac version)
How to install Google Test / Google Mock in Visual Studio 2019
How to display multiple images of galaxies in tiles
How to right click using keyboard input in RPA?
How to download files from Selenium in Python in Chrome
How to exit when using Python in Terminal (Mac)
How to retrieve multiple arrays using slice in python.
How to execute a command using subprocess in Python
[Selenium] How to specify the relative path of chromedriver?
How to debug selenium
How to change python version of Notebook in Watson Studio (or Cloud Pak for Data)
How to create an instance of a particular class from dict using __new__ () in python
[Question] How to get data of textarea data in real time using Python web framework bottle
How to pass the execution result of a shell command in a list in Python (non-blocking version)
How to test that Exception is raised in python unittest
How to find the optimal number of clusters in k-means
How to get rid of server custom emoji in message.content
How to test the attributes added by add_request_method of pyramid
How to not load images when using PhantomJS with Selenium
How to manipulate the DOM in an iframe with Selenium
How to develop in a virtual environment of Python [Memo]
How to generate a query using the IN operator in Django
Comparison of how to use higher-order functions in Python 2 and 3
How to get a list of built-in exceptions in python
Summary of how to write .proto files used in gRPC
How to get an overview of your data in Pandas
Survey log of how to optimize LightGBM hyperparameters using Optuna
How to get a quadratic array of squares in a spiral!
[End of 2020] A memo to start using AWS CLI (Version 2)
Tabpy 1.0 (2020-01 version) How to install
Start to Selenium using python
How to change Python version
How to develop in Python
How to display a specified column of files in Linux (awk)
How to set the output resolution for each keyframe in Blender
How to handle multiple versions of CUDA in the same environment
How to implement Java code in the background of RedHat (LinuxONE)
How to know the internal structure of an object in Python
How to change the color of just the button pressed in Tkinter
How to display formulas in latex when using sympy (> = 1.4) in Google Colaboratory
ABC170 E --How to solve without using multiset of Smart Infants
[EC2] How to install chrome and the contents of each command
How to check the memory size of a variable in Python