Testing html files using Selenium and IE

How can I use selenium to open html files on my machine in a browser other than Firefox? When starting Selenium, baseUrl is installed either on a real website (www.google.com) or on the initial team of open testing of test points on a local html file

selenium.open("file:///C:/to/local/file.html")

or baseUrl is installed directly in the local html file, and the initial line in the test

selenium.open("/")

Is there a way to run these tests using a browser installed in * iexplore that will not cause selenium to fail?

+3
source share
1 answer

Selenium http-, Selenium Proxy. Internet Explorer Selenium Javascript http :///

http://seleniumhq.org/docs/05_selenium_rc.html#the-same-origin-policy

0

Source: https://habr.com/ru/post/1752492/


All Articles