← Back to team overview

sikuli-driver team mailing list archive

[Question #277189]: Selenium OPEN IE

 

New question #277189 on Sikuli:
https://answers.launchpad.net/sikuli/+question/277189

I want to code to open IE11 through selenium4sikulix but fail it .Just got  ---- "name 'InternetExplorerDriver' is not defined"
What's wrong

import java.lang
java.lang.System.setProperty("webdriver.firefox.bin", "C:\\Program Files (x86)\\Mozilla Firefox\\iexplore.exe")
from selenium4sikulix import *
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxBinary
import org.openqa.selenium.firefox.FirefoxDriver
import org.openqa.selenium.ie.InternetExplorerDriver
try:
   driver=InternetExplorerDriver()
   driver.get("www.baidu.com")
except Exception,e:
   print e 


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.