the problem is the area you want to interact with is inside of a hidden
div. Users of your site can not interact with a hidden div so watir should
not either. your best bet would be to get the site in a state where the
chip area is visible. then you can interact with it


On Tue, Mar 18, 2014 at 2:38 PM, Elad Shalom <[email protected]> wrote:

> Hi.
> I'm trying to create a POC for watir on a gaming website.
>
> I got most of it figured out, but I can't seem to click on a specific div
> there.
>
> Website:
> http://wpstg.cryptodom.com/roulette/
>
> My tries for that are:
> divChips = browser.element :class => 'chips-area'
> divChips.element(:css, 'div[chip="5"]').click
> OR
> browser.element(:class => 'select_chip', :index => 6).click
>
> Nothing works and I'm desperate.
>
> Please help.
>
> Thanks,
> Elad.
>
> --
> --
> 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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to