Re: Question about selenium ipad in ruby

13 views
Skip to first unread message

Luke Inman-Semerau

unread,
Jun 19, 2012, 5:11:02 PM6/19/12
to Selenium Users
Hi Rohit,

I don't like being privately emailed if I don't know you, I prefer discussions directly on the selenium mailing list. Especially since there are many other individuals who can also answer iPhone related questions. Hopefully you too are following the mailing list :)

Your code does not appear to have anything wrong with it. If you are attempting to connect to an iPad simulator then you need to start the simulator in iPad mode. There's a couple ways you can do that, one is to specify iPad as the device target in XCode, another is to use the Hardware menu in the Simulator application.

-Luke

On Tue, Jun 19, 2012 at 12:32 PM, rohit kadam <rohit....@gmail.com> wrote:
Hi Luke,

   Read your post about iphone webdriver
http://code.google.com/p/selenium/wiki/IPhoneDriver
Very useful for me and worked well.

But how can I do the same for iPad? I just changed for ipad like:-

driver = Selenium::WebDriver.for :remote, :url =>
"http://localhost:3001/wd/hub", :desired_capabilities => :ipad

didn't worked for me. Can you please help me?
Sorry for writing direct mail, but didn't found any way of communication.
Waiting for your reply. I hope you will.


Thanks,

Rohit
@r0hitkadam

Reply all
Reply to author
Forward
0 new messages