Re: [selenium-users] Driver info: driver.version: unknown

6,227 views
Skip to first unread message

jeevan

unread,
Sep 10, 2012, 2:29:09 AM9/10/12
to seleniu...@googlegroups.com
Check for the follwoing differece:


 Expected Title:"GitHub � Social Coding".
 Current title: "GitHub · Social Coding" 

hope some symbol difference....

Thanks,
Jeevan


On Mon, Sep 10, 2012 at 9:41 AM, Kamal Ahmed <kamal22...@gmail.com> wrote:
Hi,
I am trying to run identical sample WebDriver test, in Windows 7 and Fedora 15. But on Fedora 15, i am getting error:

I am using Webdriver 2.15.0 , Firefox on Windows is 15, and Firefox on Fedora is 12.

GitHubLoginTest (1)
com.example.test.GitHubLoginTest
should_not_login_with_wrong_credentials(com.example.test.GitHubLoginTest)
org.openqa.selenium.TimeoutException: Timed out after 30 seconds waiting for title to contain "GitHub � Social Coding". Current title: "GitHub · Social Coding"
Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 21:09:54'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.43.5-2.fc15.x86_64', java.version: '1.6.0_35'
Driver info: driver.version: unknown
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:255)
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:270)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:222)
at com.example.pageobjects.GitHubPage.waitForPageToLoad(GitHubPage.java:40)
at com.example.pageobjects.GitHubPage.openPage(GitHubPage.java:30)
at com.example.pageobjects.GitHubHomePage.open(GitHubHomePage.java:31)
at com.example.test.GitHubLoginTest.should_not_login_with_wrong_credentials(GitHubLoginTest.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
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)


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/mhY_hZw4nk0J.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mike Riley

unread,
Sep 11, 2012, 2:20:15 PM9/11/12
to seleniu...@googlegroups.com
You have already posted this on an earlier thread.  Please do not start multiple threads for the same issue.

Mike

Krishnan Mahadevan

unread,
Dec 25, 2012, 9:27:22 PM12/25/12
to seleniu...@googlegroups.com
What version of Selenium are you working with  ? 
Can you please show some sample code that you are working with and also the stacktrace ?
Since you picked up a post from September, am inclined to believe that perhaps you may not even see the problem in the newer version of Selenium viz., 2.28.0


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/


On Mon, Dec 24, 2012 at 9:46 PM, <psel...@infoarmy.com> wrote:
So anyone found a solution for this issue ? i'm in Ubuntu 12.04 getting the same issue. Please help us.

Thanks,
Puspharaj

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/SsWA1ThG_TYJ.

Puspharaj Selvaraj

unread,
Dec 25, 2012, 9:40:46 PM12/25/12
to seleniu...@googlegroups.com
Thanks Krish for reply Yeah i'm new to selenium and moreover its an integrated with eclipse juno.
So i have download the selenium 2.25.0 and i integrated with it. What could be the problem here.
--

_______________________________
Puspharaj Selvaraj
Associate Member of Technical Staff
twitter: @infoarmy      

Krishnan Mahadevan

unread,
Dec 25, 2012, 9:42:36 PM12/25/12
to seleniu...@googlegroups.com
Its hard to tell, without you elaborating a bit more on how your setup looks like, what does your test code look like, what does your stacktrace look like.


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/


Puspharaj Selvaraj

unread,
Dec 25, 2012, 11:43:32 PM12/25/12
to seleniu...@googlegroups.com
Krish ,

Here it is, I'm a network engineer but i hope this will not exploit anything to hackers. Please tell me if its not relevant.

Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is not currently visible and so may not be interacted with
Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-35-generic', java.version: '1.6.0_24'
Driver info: driver.version: unknown
    at <anonymous class>.fxdriver.preconditions.visible(file:///tmp/anonymous1708795767893232617webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:7537)
    at <anonymous class>.DelayedCommand.checkPreconditions_(file:///tmp/anonymous1708795767893232617webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10203)
    at <anonymous class>.DelayedCommand.executeInternal_/h(file:///tmp/anonymous1708795767893232617webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10222)
    at <anonymous class>.DelayedCommand.executeInternal_(file:///tmp/anonymous1708795767893232617webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10227)
    at <anonymous class>.DelayedCommand.execute/<(file:///tmp/anonymous1708795767893232617webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10167)

testEarnMoneySignup(com.infoarmy.ui.registration.EarnMoneySignupTest)  Time elapsed: 10.711 sec  <<< FAILURE!
org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
Command duration or timeout: 7 milliseconds
Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-35-generic', java.version: '1.6.0_24'
Session ID: 227dbbc0-e34e-4895-a54e-f7cce47c8a25
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=17.0.1, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:187)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:533)
    at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:246)
    at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:41)
    at $Proxy9.sendKeys(Unknown Source)
    at com.infoarmy.ui.registration.SignMeUp.setInputEmail(SignMeUp.java:213)
    at com.infoarmy.ui.SignMeUpBaseTest.invokeSignMeUp(SignMeUpBaseTest.java:49)
    at com.infoarmy.ui.SignMeUpBaseTest.signupSucessfull(SignMeUpBaseTest.java:105)
    at com.infoarmy.ui.registration.EarnMoneySignupTest.testEarnMoneySignup(EarnMoneySignupTest.java:24)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is not currently visible and so may not be interacted with
Build info: version: '2.27.0', revision: '18259', time: '2012-12-05 11:30:53'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-35-generic', java.version: '1.6.0_24'
Driver info: driver.version: unknown
    at <anonymous class>.fxdriver.preconditions.visible(file:///tmp/anonymous349385464848566261webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:7537)
    at <anonymous class>.DelayedCommand.checkPreconditions_(file:///tmp/anonymous349385464848566261webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10203)
    at <anonymous class>.DelayedCommand.executeInternal_/h(file:///tmp/anonymous349385464848566261webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10222)
    at <anonymous class>.DelayedCommand.executeInternal_(file:///tmp/anonymous349385464848566261webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10227)
    at <anonymous class>.DelayedCommand.execute/<(file:///tmp/anonymous349385464848566261webdriver-profile/extensions/fxdr...@googlecode.com/components/command_processor.js:10167)

Krishnan Mahadevan

unread,
Dec 26, 2012, 12:14:45 AM12/26/12
to seleniu...@googlegroups.com
Puspharaj,
No you are NOT exposing anything that can compromise your machine security :)

Coming back to your error, from the stack trace, I can see this 
testEarnMoneySignup(com.infoarmy.ui.registration.EarnMoneySignupTest)  Time elapsed: 10.711 sec  <<< FAILURE!
org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
Command duration or timeout: 7 milliseconds

which makes me believe that you are trying to interact with an element which is NOT visible and hence this error.




Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/


Puspharaj Selvaraj

unread,
Dec 26, 2012, 12:22:37 AM12/26/12
to seleniu...@googlegroups.com
Thank you much Krish but why i see the unknown driver error  my fellow workers are doing the Automation in Windows seems to be no error for them and even Mac.

Krishnan Mahadevan

unread,
Dec 26, 2012, 12:40:33 AM12/26/12
to seleniu...@googlegroups.com
Unfortunately I dont have a LINUX box right now at my disposal. So I cannot recreate this on my desktop to tell you what is going wrong.


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"



Reply all
Reply to author
Forward
0 new messages