Sorry, missed the capitalization:
@browser.input(id: 'Item1silver').parent.img.click
or
@browser.img(alt: 'Silver')
or
@browser.img(css: "label[for='Item1silver'] img").click
On Sat, Jan 17, 2015 at 11:58 AM, Mohan MK wrote:
> Thanks Titus Fortner,
>
> but both did not work.
>
> I used Xpath and
Thanks Titus Fortner,
but both did not work.
I used Xpath and was able to select
@browser.find_element(:xpath, ".//*[@id='Item1']/div/div/fieldset/div/"+
iPad_Finish +"/label/div").click
, but again the issue is the second element is not visible on the screen :(
unlike Firefox, chrome doe