you can use css selector, for example browser.element(css:
'button[custom_attribute=value]').click


2013/9/23 Dan <[email protected]>

> Post the relevant html and what you've tried please.
>
>
> On Friday, September 20, 2013 3:57:24 PM UTC-4, Mukul Bist wrote:
>>
>> Hi ,
>>
>> I added custom attribute to a button and i am not able to identify that
>> element based on custom attribute. Do you guys have any idea.
>>
>> ~Mukul
>>
>  --
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to