Results 1 to 2 of 2
Thread: Help on Watir scripts
Aug 9, 2011, 21:12 #1
- Join Date
- Aug 2011
- 0 Post(s)
- 0 Thread(s)
Help on Watir scripts
I'm new in using Watir..
Can Watir access elements that is inside a partial view?
I have a page to test and that when I click View Source, the element isn't there..
But when I tried to access the developer tool (press f12, same as firebug), the element exists in the source code.
Aug 12, 2011, 09:54 #2
For example: In our webpage, I have to tell Watir to look within the frame where the objects in question reside for it to find them. So it looks like:
browser.frameid => "frameInHTML").buttonid => "C0_36").click
Something like that. I would look there. If you had a more specific example, I could do more. Good luck!
I talk about it more on my blog if you want to look there.