Re: [wtr-general] Clicking on link on list

2013-05-02 Thread ikeonoh
It appears as a link, but for some reason, i can't directly click on the link. The link is with other links as a list , which opens the associated page on the same page as a container. I am assuming i cant see the source code for the link itself because im accessing the source code via chrome.

Re: [wtr-general] Clicking on link on list

2013-05-02 Thread Oscar Rieken
you want to click on the link that has text of Pricing Why not just use that information to locate the link On Thu, May 2, 2013 at 10:35 AM, ikeonoh wrote: > I don't think i understand what you mean. please explain. Thanks! > > On Thursday, May 2, 2013 10:20:44 AM UTC-4, Oscar.Rieken wrote: > >

Re: [wtr-general] Clicking on link on list

2013-05-02 Thread ikeonoh
I don't think i understand what you mean. please explain. Thanks! On Thursday, May 2, 2013 10:20:44 AM UTC-4, Oscar.Rieken wrote: > > Pricing > > if there is only one why not link with text of Pricing? > > > > On Thu, May 2, 2013 at 10:18 AM, ikeonoh >wrote: > >> Just realized that the links open

Re: [wtr-general] Clicking on link on list

2013-05-02 Thread Oscar Rieken
Pricing if there is only one why not link with text of Pricing? On Thu, May 2, 2013 at 10:18 AM, ikeonoh wrote: > Just realized that the links open up in a container on the same page. I > pretty much have problems accesing anything in any containers from the > links. I have tried: > > =>page

Re: [wtr-general] Clicking on link on list

2013-05-02 Thread ikeonoh
Just realized that the links open up in a container on the same page. I pretty much have problems accesing anything in any containers from the links. I have tried: =>page = browser.ul(:class, "navigation").li(:index => 5) =>page.click =>page = browser.ul(:class, "navigation").lis[5] =>page.clic

Re: [wtr-general] Problems selecting an item in a list

2013-05-02 Thread Željko Filipin
On Wed, May 1, 2013 at 3:52 PM, Marc Westwood wrote: > Text = "DEF - 100 DEF" > Try this: browser.a(:text => "DEF - 100 DEF").click Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.goo

Re: [wtr-general] Problems selecting an item in a list

2013-05-02 Thread Marc Westwood
I have tried. .div(:class, "selectable_list").li(:id, "_item_2").click .div(:class, "selectable_list").select 'DEF - 100 DEF' .select_list(:id, "selectable_list").select 'DEF - 100 DEF' I would like to click on using the text. On Thursday, May 2, 2013 7:57:55 AM UTC+1, Željko Filipin wrote

Re: [wtr-general] Clicking on link on list

2013-05-02 Thread Željko Filipin
On Wed, May 1, 2013 at 9:12 PM, ikeonoh wrote: > I am trying to click on the link "Pricing" What have you tried so far? Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.