Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to deal with scrollbar?
artoxvw@gmail.com
5/25/2009 9:30:00 AM
Hi, guys
I use watir , but when I want to focus the page to the bottom of
the page, I don't know how to deal with it
I need your help thank you
1 Answer
Tom Ricks
5/25/2009 4:56:00 PM
0
Artoxvw Artoxvw wrote:
> Hi, guys
> I use watir , but when I want to focus the page to the bottom of
> the page, I don't know how to deal with it
> I need your help thank you
Although this question is better suited to be in the watir forums, i
will try and answer it anyways.
When you use watir and do anything to a button/link/anything it doesn't
matter where it is on the page, even if you cant see it working. Take
this example:
require 'watir'
ie = Watir::IE.new
ie.goto "
http://wiki.openqa.org/display/WTR/Project+...
ie.link(:href, "
http://wiki.openqa.org/display/WTR/Watir+U...
).flash
ie.link(:href, "
http://wiki.openqa.org/administrators.ac...
).flash
See how it flashes on the bottom without you necessarily being able to
view it?
If this doesn't help then please give an example of what you are trying
to do, and then maybe it will shed some light on the problem.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to deal with scrollbar?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password