Hi,
add -- sleep 10 after
browser.element(:class, 'loginTwitter').click
I hope it will solve your problem
On Wed, Mar 19, 2014 at 11:36 PM, Oscar Rieken bis...@gmail.com wrote:
http://watirwebdriver.com/browser-popups/
On Wed, Mar 19, 2014 at 1:57 PM, Elad Shalom e...@devaffair.com
Using sleeps is a bad idea. There's plenty of wait methods available that
do a much better job. See here http://watirwebdriver.com/waiting/.
On Friday, March 21, 2014 5:10:08 AM UTC-4, jazze...@gmail.com wrote:
Hi,
add -- sleep 10 after
browser.element(:class,
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,
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
OK.. How about wait_until instead of using sleep 15?
Will that work?
How do I implement that?
Thanks!
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
wait_until will wait until they are visible and since they do not become
visible on their own that would be never?
sleep will do nothing but stop execution for 15 seconds
what you need to do if you want to interact with that object is make the
chip area visible. once you have done that you would
Thanks, for your help. I was told to quit that one and do a different POC.
Should be very simple, but again - doesn't work.
This should login to a website with Twitter.
browser = Watir::Browser.start 'http://www.12mass.com/'
browser.link(:class, 'priceLogin').click
sleep 2
http://watirwebdriver.com/browser-popups/
On Wed, Mar 19, 2014 at 1:57 PM, Elad Shalom e...@devaffair.com wrote:
Thanks, for your help. I was told to quit that one and do a different POC.
Should be very simple, but again - doesn't work.
This should login to a website with Twitter.