Did 2.30.0 break the iPhone webDriver?

90 views
Skip to first unread message

Isaac Howard

unread,
Feb 20, 2013, 12:17:56 PM2/20/13
to seleniu...@googlegroups.com
Whenever I try and instantiate a RemoteWebDriver with iPhone capabilities
                        DesiredCapabilities iphoneDC = DesiredCapabilities.iphone();
                        iphoneDC.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
                        return new RemoteWebDriver(new URL(hubURL), iphoneDC);

I'm getting a 

    2013-02-20 10:07:14.688 iWebDriver[53661:3913] Responding to request: POST /wd/hub/session?null

    2013-02-20 10:07:14.688 iWebDriver[53661:3913] data: '{"desiredCapabilities":{"platform":"MAC","acceptSslCerts":true,"browserName":"iPhone","version":""}}'

    2013-02-20 10:07:14.688 iWebDriver[53661:3913] Invalid query: ?null

    2013-02-20 10:07:14.689 iWebDriver[53661:3913] 404 - could not create response for request at /wd/hub/session?null

from the webdriver xcode debug window


This was working with 2.29.0. Any other information I can provide?

Is anyone else seeing this with their iPhone tests?

Luke Inman-Semerau

unread,
Mar 5, 2013, 2:02:23 AM3/5/13
to seleniu...@googlegroups.com
I haven't been able to run this down yet, but for some reason when running through a Selenium Grid hub that extra query parameter ?null is getting added when a session is created. I'd like to fix that... but in the meantime I patched iPhoneDriver to ignore the query paramters (pull the latest code from git and rebuild).

-Luke


On Monday, February 25, 2013 3:04:52 PM UTC-8, Timmy Ho wrote:
I see the same thing as well after upgrading to 2.30.0.

Krishnan Mahadevan

unread,
Mar 5, 2013, 5:14:07 AM3/5/13
to seleniu...@googlegroups.com
Luke,
So this means its going to be part of 2.32.0 right ? The reason am asking for this is because [my org] has been sitting on 2.25.0 and we are on the verge of upgrading to the latest version.
Just wanted to know this, so that we can make a conscious decision to wait for the new version or just go ahead with the current one.

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/


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

For more options, visit https://groups.google.com/groups/opt_out.
 
 

Luke Inman-Semerau

unread,
Mar 5, 2013, 9:33:49 AM3/5/13
to seleniu...@googlegroups.com
iphone driver is not apart of the release, but now is compatible with all versions of grid (if you build from HEAD in git).

There is a bug (in my opinion) in grid that is not fixed yet, but it won't break anything right now (it's just tacking on "?null" to the session request when it shouldn't be)

--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/eqC_LUOqmOs/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.

To post to this group, send email to seleniu...@googlegroups.com.

Krishnan Mahadevan

unread,
Mar 5, 2013, 10:27:08 AM3/5/13
to seleniu...@googlegroups.com
Luke,
Bah! silly me. Am sorry for that stupid question. I completely forgot that the iPhone Driver still has to be built from the code :)
Thanks for correcting me there.

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/


Luke Inman-Semerau

unread,
Mar 5, 2013, 12:23:26 PM3/5/13
to seleniu...@googlegroups.com
So, I figured out the issue with the Grid forwarding code, committed that now. So 2.32 will really have no issue (even with an older iphone driver)

Timmy Ho

unread,
Mar 5, 2013, 7:14:55 PM3/5/13
to seleniu...@googlegroups.com
Thank you Luke!
Reply all
Reply to author
Forward
0 new messages