Issue 4142 in selenium: IE10 Support

10 views
Skip to first unread message

sele...@googlecode.com

unread,
Jun 24, 2012, 11:00:28 PM6/24/12
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 4142 by queensto...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

OS: Win8 public Preview
Browser: IE10
Selenium: 2.23.1 (selenium drop and IE driver drop)
Method: Web Driver
.net version: 4
Developed in: VS2010 express (C#)

Hello,
I can get Selenium to open (launch) IE10 fine. However, invalid param for
the get screenshot. Can someone please have a look? (Thanks!)

_ieDriver.Navigate().GoToUrl(screenShotUrl);
Console.WriteLine("done navigate");
Console.WriteLine("getting screenshot");
string screenShotString = _ieDriver.GetScreenshot().AsBase64EncodedString;
Console.WriteLine("screenshot taken");

//also, this does not work:
_ieDriver.GetScreenshot().SaveAsFile("foo.JPG",
System.Drawing.Imaging.ImageFormat.Jpeg);



sele...@googlecode.com

unread,
Jun 24, 2012, 11:03:49 PM6/24/12
to selenium-develope...@googlegroups.com

Comment #1 on issue 4142 by queensto...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

Please also note that the code (exact same - different machine) runs find
on Win7 with IE9.

sele...@googlecode.com

unread,
Jun 24, 2012, 11:05:49 PM6/24/12
to selenium-develope...@googlegroups.com

Comment #2 on issue 4142 by queensto...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

Please also note that the exact same code (same bits on a different
machine) runs fine on Win7 with IE9.
On IE10, Selenium does launch IE10 fine and navigates fine - something is
not right with the GetScreenshot().

sele...@googlecode.com

unread,
Jun 25, 2012, 2:33:49 PM6/25/12
to selenium-develope...@googlegroups.com
Updates:
Labels: Component-WebDriver Browser-IE

Comment #3 on issue 4142 by barancev: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

(No comment was entered for this change.)

sele...@googlecode.com

unread,
Jul 6, 2012, 4:06:20 PM7/6/12
to selenium-develope...@googlegroups.com
Updates:
Cc: james.h....@gmail.com
Labels: -Status-Untriaged

Comment #4 on issue 4142 by david.bu...@theautomatedtester.co.uk: IE10

sele...@googlecode.com

unread,
Oct 9, 2012, 1:52:29 AM10/9/12
to selenium-develope...@googlegroups.com

Comment #5 on issue 4142 by tagal...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

I am trying to run my script with "type" command against IE10 but it
returns "element not found"I have tried the "focus" command and it did
recognize the element.$sel->type("locator", "value");
I also run my script against IE9 and IE8 and it works perfectly fine.
Is selenium rc compatible with IE10?

sele...@googlecode.com

unread,
Dec 14, 2012, 6:22:22 AM12/14/12
to selenium-develope...@googlegroups.com

Comment #6 on issue 4142 by mysore.v...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

I tried using IEDriverServer Ver: 2.28.0.0 on WIndows 8 64 bit platform and
looks like text field entry is taking 5+ seconds for each character to
enter. On Windows 8 platform on Firefox 15 its working fine.

Please suggest if some tweaks are required to run selenium on IE10 browser.

sele...@googlecode.com

unread,
Dec 14, 2012, 7:52:48 AM12/14/12
to selenium-develope...@googlegroups.com

Comment #7 on issue 4142 by carolina...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

I can not make IEDriverServer 27 nor 28 work on IE10 under Windows 8 64bit.
Is there any special setting needed?

Thanks!

sele...@googlecode.com

unread,
Dec 14, 2012, 9:36:19 AM12/14/12
to selenium-develope...@googlegroups.com

Comment #8 on issue 4142 by barancev: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

As a workaround try 32-bit version of IEDriverServer (Windows 64-bit
contains both 32-bit and 64-bit versions of Internet Explorer)

sele...@googlecode.com

unread,
Dec 14, 2012, 9:40:00 AM12/14/12
to selenium-develope...@googlegroups.com

Comment #9 on issue 4142 by carolina...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

I have already tried it. It does not work either.
Any other ideas?

Thanks a lot!!

sele...@googlecode.com

unread,
Dec 14, 2012, 9:43:41 AM12/14/12
to selenium-develope...@googlegroups.com

Comment #10 on issue 4142 by barancev: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

Then please explain what do you mean by "does not work". Are there any
error messages?

sele...@googlecode.com

unread,
Dec 14, 2012, 9:49:12 AM12/14/12
to selenium-develope...@googlegroups.com

Comment #11 on issue 4142 by carolina...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

I get an exception. Here are the logs:
org.openqa.selenium.WebDriverException: ....
.
.
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:187)
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:533)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:111)
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:129)

Caused by: java.util.concurrent.TimeoutException
java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
java.util.concurrent.FutureTask.get(Unknown Source)
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
org.openqa.selenium.remote.service.DriverService.start(DriverService.java:163)
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:62)
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:506)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:216)
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:201)
org.openqa.selenium.ie.InternetExplorerDriver.setup(InternetExplorerDriver.java:103)
org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:57)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
org.openqa.selenium.remote.server.DefaultDriverFactory.callConstructor(DefaultDriverFactory.java:57)
org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:51)
org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:213)
org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:1)
java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:167)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

sele...@googlecode.com

unread,
Dec 17, 2012, 6:18:38 AM12/17/12
to selenium-develope...@googlegroups.com

Comment #12 on issue 4142 by mysore.v...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

I tried IEDriverServer ver: 2.28.0.0 32 bit version on Windows 8 to trigger
run on IE10 on windows 64 bit platform and it seems to work fine. Thanks
for the suggestion. Please let us know when will 64-bit version of
IEDriverServer supports fine for IE10.

sele...@googlecode.com

unread,
Feb 13, 2013, 2:22:08 AM2/13/13
to selenium-develope...@googlegroups.com

Comment #13 on issue 4142 by shashi1...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

i used IEDriver.exe 32 bit version.. but i am facing same problem like
element not found

sele...@googlecode.com

unread,
Feb 13, 2013, 2:23:19 AM2/13/13
to selenium-develope...@googlegroups.com

Comment #14 on issue 4142 by shashi1...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

here i am attching my exception trace...
java.lang.NullPointerException
at
org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:324)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementsByCssSelector(RemoteWebDriver.java:383)
at org.openqa.selenium.By$ByCssSelector.findElements(By.java:418)
at
org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:290)
at
org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElements(DefaultElementLocator.java:75)
at
org.openqa.selenium.support.pagefactory.internal.LocatingElementListHandler.invoke(LocatingElementListHandler.java:35)
at $Proxy7.get(Unknown Source)
at
com.selenium.page.AutomatedTester_HomePage.clickChapters(AutomatedTester_HomePage.java:23)
at com.selenium.page.TestCase.doCheck(TestCase.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



sele...@googlecode.com

unread,
Apr 15, 2013, 4:21:29 AM4/15/13
to selenium-develope...@googlegroups.com

Comment #15 on issue 4142 by d.mawa...@gmail.com: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

public void setUp() throws Exception {
selenium = new DefaultSelenium("localhost", 4444, "*iexplore C:\\Program
Files (x86)\\Internet Explorer\\iexplore.exe", "www.google.com");
selenium.start();
}

I have a problem with IE here, I use IE 10 and the new version of Selenium
RC that I download from Selenium website. But, after I run the test, the IE
open, but it doesn't load the website that I suggest. It just open my home
page. Any help?? Thank you.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
May 8, 2013, 6:08:37 AM5/8/13
to selenium-develope...@googlegroups.com
Updates:
Status: NeedsClarification

Comment #16 on issue 4142 by a.u.savchuk: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

Hi!

For the following problems:
* screenshot failure
* type&focus problem
* TimeoutException
* NullPointerException
please:
1. recheck it for last selenium version
2. if it's still reproduced please provide information like full exception
info,
executable test scenario, public URL or HTML+CSS+JS of page at which
problem is reproduced.

In IE x64 sendkeys is very slow - it's known problem described at another
issue.
As workaround please use solution from @8.

If some problem is occured only in RC but not in webdriver/grid2, please
create new specific issue.

sele...@googlecode.com

unread,
Sep 5, 2013, 12:23:13 PM9/5/13
to selenium-develope...@googlegroups.com
Updates:
Status: Invalid

Comment #17 on issue 4142 by a.u.savchuk: IE10 Support
http://code.google.com/p/selenium/issues/detail?id=4142

Closed due inactivity.

If the some problem is still exist at latest Selenium
please raise new issue with all necessary information.

sele...@googlecode.com

unread,
Sep 26, 2014, 2:36:37 AM9/26/14
to selenium-develope...@googlegroups.com

Comment #18 on issue 4142 by prabhanj...@gmail.com: IE10 Support
https://code.google.com/p/selenium/issues/detail?id=4142



We are using selenium RC version 2.32.0 for automating the application
using Internet Explorer 9. All Test Scripts are passing.

But now we have to move to Internet Explorer 10 to run the same test
scripts and we found that all the scripts are failing here and there for
not finding the IDs.

Same Ids are working with IE9.

We changed one test case using xpaths then it started working.

IE 10 failing with Locator ID and Passing with Locator Xpath.

Error with IE10 :

"Got result: ERROR: Command execution failure. Please search the user
group at https://groups.google.com/forum/#!forum/selenium-users for error
details from the log window. The error message is: Unable to get
property 'nodeValue' of undefined or null reference on session"

can some one help us giving the solution
Reply all
Reply to author
Forward
0 new messages