Automate Edge in IE mode using Selenium

Welcome dear peruser

You might realize that internet pioneer is going to resign and it will as of now not be upheld by Microsoft after June 15, 2022. Here I will give you an answer so you can involve Edge to automate your heritage application in IE mode using selenium and python.

Necessities for selenium python mechanization

Three significant necessities to automate edge in IE mode

Python adaptation 3.7 or more

Selenium bundle adaptation 4.0 or above

Internet pioneer driver IEDriverServer adaptation 4.0.0.0 or above — download from here.

Code Bit

from selenium import webdriver

ie_options = webdriver.IeOptions()

ie_options.attach_to_edge_chrome = Valid

# Add the way of microsoft edge executable in the underneath line of code

ie_options.edge_executable_path = “C:/Program Files(x86)/Microsoft/Edge/Application/msedge.exe”

driver = webdriver.Ie(options=ie_options)

driver.get(“https://www.google.com”)

driver.find_element_by_name(“q”).send_keys(“Medium”)

driver.quit()

Note

Make a point to keep IEDriverServer.exe in a similar organizer where the python record is found.

AUTHOR DETAILS:

Email tibri123.tani@gmail.com
First Name tania
Middle Name 
Last Name kumari
Phone9871043177  
Street Vijay nagar,new delhi Alternative address- prayag, saraswati vihar
CityAllahabad
CountryIndia
Occupationgovernment job
Materialsingle
Genderfemale
Birthdate25dec1982
Nationalityindia
Childrenno


10

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.