May
5
awarded Notable Question
Oct
1
accepted How do I encode spaces in a YQL url?
Sep
19
comment How do I encode spaces in a YQL url?
It also fails if I use the results of an encodeURIComponent() as the value of the url.
Sep
19
asked How do I encode spaces in a YQL url?
Aug
10
awarded Popular Question
Jul
21
awarded Yearling
Jan
6
comment Jquery-ui sortable doesn't work on touch devices based on Android or IOS
This script was almost working, but behaved kind of flaky for me. I finally found an article talking about the mouse position of events and figured out I needed to change the _modifyEvent to change the page like this: event.pageX = target.clientX + document.body.scrollLeft; event.pageY = target.clientY + document.body.scrollTop; - with that tweak it works even if I have scrolled my page. I only tested on iOS - not sure if it works on other mobile devices.
Dec
19
awarded Notable Question
Oct
4
awarded Tumbleweed
Sep
30
revised Why don't machinist objects to save inside nested blocks?
added more detail
Sep
27
asked Why don't machinist objects to save inside nested blocks?
Jul
22
awarded Yearling
Jun
3
accepted How can I get selenium/cucumber to interact with a "hidden" link that is now in a lightbox/colorbox?
May
27
awarded Commentator
May
27
comment How can I get selenium/cucumber to interact with a "hidden" link that is now in a lightbox/colorbox?
Yes - sleep 1 also works. I think the problem is that the colorbox has an animation step that takes a few milliseconds - so the ajax call is done, but the animation isn't. I think the right answer should be somehow using the selenium.wait_for_condition, but I can't figure out how to call it in my cucumber steps ("selenium.browserbot.getCurrentWindow().document.getElementById('colorbox').sty­le.display == 'block'"). I will probably have a lot of these steps for my entire test suite and the sleep 1s will start to add up!
May
24
comment How can I get selenium/cucumber to interact with a "hidden" link that is now in a lightbox/colorbox?
It seems like the $.fn.colorbox call isn't finishing by the time I try to follow the Cancel link (so it is still hidden inside the other div). I'm trying to figure out the best way to make capybara/selenium wait for the div to become visible.
May
24
asked How can I get selenium/cucumber to interact with a "hidden" link that is now in a lightbox/colorbox?
May
17
awarded Critic
May
13
awarded Popular Question
May
6
awarded Supporter
1 2 3