Thanks!
On Thursday, December 13, 2012 2:37:50 PM UTC-7, Željko Filipin wrote:
On Thu, Dec 13, 2012 at 9:09 PM, Željko Filipin
zeljko@gmail.comjavascript:
wrote:
I just fixed a similar problem myself. Reverting back to Firefox 16 fixed
the problem.
And here it is:
On Wednesday, December 12, 2012 12:15:56 PM UTC-5, Abe Heward wrote:
Note that I am using Watir-webdriver 0.6.2
On Wednesday, December 12, 2012 10:12:28 AM UTC-7, Abe Heward wrote:
I appear to be misunderstanding something fundamental...
Assume my page does not contain a span with a class
Sadly, an upgrade to the latest selenium-webdriver (2.27.2) hasn't resolved
this problem. :(
On Thursday, December 13, 2012 6:47:57 AM UTC-7, Abe Heward wrote:
Thanks, Justin, I'll give that a try.
On Wednesday, December 12, 2012 3:38:58 PM UTC-7, Justin Ko wrote:
Are you using Firefox? I
, Abe Heward ahe...@rsmart.comjavascript:
wrote:
Sadly, an upgrade to the latest selenium-webdriver (2.27.2) hasn't
resolved this problem. :(
Could you provide a minimal HTML and Ruby code to reproduce the problem?
Or even better, link to the page with the problem? Or, do you get timeout
and expect it to
fail
On Thu, Dec 13, 2012 at 2:48 PM, Abe Heward ahe...@rsmart.comjavascript:
wrote:
That'll be tough, unfortunately. The basic issue, though, is:
1) Target element (in my case it was a span being identified by its
class) does not exist on the page
2) Use
I appear to be misunderstanding something fundamental...
Assume my page does not contain a span with a class of welcome...
Given that, if I have this line in my Watir code:
@browser.span(class: welcome).exist?
...should that not immediately return a *false*?
Why would this ever return a
HA! That's funny that I just posted about this EXACT problem.
.present? and .exists? should just immediately return true or false--to my
mind, anyway.
Timeout errors are just inappropriate here.
On Monday, December 10, 2012 10:28:15 PM UTC-7, Nigel wrote:
We're successfully finding elements
Note that I am using Watir-webdriver 0.6.2
On Wednesday, December 12, 2012 10:12:28 AM UTC-7, Abe Heward wrote:
I appear to be misunderstanding something fundamental...
Assume my page does not contain a span with a class of welcome...
Given that, if I have this line in my Watir code
Suddenly this week I've been seeing a lot of this error, in Watirwebdriver
scripts that worked just fine last week:
Selenium::WebDriver::Error::UnknownError: Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [xpcIJSWeakReference.get]
This is in Firefox, which I believe I just
Ah!
It looks like it happens any time there are field changes on the page--like
hidden fields becoming visible, and suchlike.
That's really really annoying!
On Wednesday, September 19, 2012 10:38:51 AM UTC-7, Abe Heward wrote:
Suddenly this week I've been seeing a lot of this error
If I want to monkey patch Watir to recognize custom HTML attributes
(custom_attrib in the example code) I just add this code:
module Watir
class Element
def custom_attrib
@how = :ole_object
return @o.custom_attrib
end
end
end
However, take a look at the custom
Ah! I can see the drag-and-drop happening, so it looks like I just need to
figure out exactly what element I need to drop it onto.
On Monday, July 2, 2012 2:43:57 PM UTC-7, Abe Heward wrote:
I have this element on a page:
a title=Insert text block data-element-type=htmlblock
class
Nope. Sorry.
On Friday, June 29, 2012 5:40:02 PM UTC-7, Oscar.Rieken wrote:
has anyone come across this using the newer version of chromedriver and
watir-webdriver 0.6.1 selenium 2.24.0
browser.labels.first
Selenium::WebDriver::Error::UnknownError: findElements returned invalid
value:
I have this element on a page:
a title=Insert text block data-element-type=htmlblock
class=inserterbar_widget_draggable inserterbar_text_widget
inserterbar_standard_icon ui-draggable tabindex=0 href=#/a
I want to drag it onto this element, on the same page:
div
Hey folks!
Got a head-scratcher, here.
My use case: I want to create a smoke-test that verifies particular
elements are present on a page.
So, I define the page elements I want, using Alister Scott's
Just to avoid confusion, this is also Alister Scott's
codehttps://github.com/alisterscott/wmf-custom-page-object/blob/master/lib/page_helper.rb
...
on Page do |p|
p.elements_exist?
end
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Ah!
I have discovered the cause of my problem. Unfortunately it's not evident
at all in the simplified scenario that I've presented here.
On Thursday, June 28, 2012 8:43:35 AM UTC-7, Abe Heward wrote:
Just to avoid confusion, this is also Alister Scott's
codehttps://github.com/alisterscott
I'll be happy to post more details if anyone is actually curious.
On Thursday, June 28, 2012 11:21:06 AM UTC-7, Abe Heward wrote:
Ah!
I have discovered the cause of my problem. Unfortunately it's not evident
at all in the simplified scenario that I've presented here.
On Thursday, June 28
Does anyone know if the limitation of the cookies feature--wherein it only
shows you the cookies for the domain of the page you're on--is going to be
changed any time soon?
My use case is:
Company A has a web page that, when visited, generates a cookie for Company
B, because Company A is a
on someother.com
When I try to look do something
Then I should be able to
or you can do something like pulling urls from a fixture
@browser.goto :main_site
@browser.goto :other_site
and have different steps depending on what page you need to go to
On Fri, May 18, 2012 at 2:31 PM, Abe
-7, Abe Heward wrote:
Thanks for the post.
You're using tags, which, again, is my primary complaint.
But I guess that's the direction I'm going to have to go in, if we're
going to use Cucumber.
On Friday, May 18, 2012 12:11:03 PM UTC-7, Oscar.Rieken wrote:
quick example but you may get
scenario in that feature file
so if that feature was called things_only_for_active_users.feature it
would not run for any other feature
On Fri, May 18, 2012 at 3:25 PM, Abe Heward ahew...@rsmart.com wrote:
Not to mention your given I'm an active user is now going to happen
before EVERY
Is there way to use watir-webdriver to get the offsetHeight value of a
DOM object?
I've got a set of elements that will become mis-positioned on the page if
one of them contains a string of text that's too long, but there's no way
to know this has happened by simply inspecting the html. The
YES! That works. Thanks.
On Thursday, April 12, 2012 8:58:48 AM UTC-7, Oscar.Rieken wrote:
I think you can do .attribute_value(the attribute you want returned)
Sent from my iPhone
On Apr 12, 2012, at 9:52 AM, Abe Heward abe.hew...@gmail.com wrote:
Is there way to use watir-webdriver
, but
not sure yet.
Jarmo
On Apr 6, 4:10 am, Abe Heward abe.hew...@gmail.com wrote:
I hesitate to ask this question because I feel like the answer will end
up
being blindingly obvious or else horribly complicated. Plus, I suppose
it's
more of a Ruby question than a Watir one. I'll
then you can also steal the code, which would
give you the same support.
I might release that Page Object support as a separate gem maybe, but
not sure yet.
Jarmo
On Apr 6, 4:10 am, Abe Heward abe.hew...@gmail.com wrote:
I hesitate to ask this question because I feel like the answer
I hesitate to ask this question because I feel like the answer will end up
being blindingly obvious or else horribly complicated. Plus, I suppose it's
more of a Ruby question than a Watir one. I'll ask it anyway...
I have a page that has a list of documents on it. You can do typical things
to
If I run this command in IRB it works:
@browser.li(:text=/Text File/i).checkbox.set
However, that same line in my test script throws this error:
Watir::Exception::UnknownObjectException:
unable to locate element, using {:text=/Text\ File/i,
:tag_name=li}
What is going on, here? Why
-for-elements
On Thursday, 5 April 2012 08:04:42 UTC+10, Abe Heward wrote:
If I run this command in IRB it works:
@browser.li(:text=/Text File/i).checkbox.set
However, that same line in my test script throws this error:
Watir::Exception::UnknownObjectException:
unable to locate element
Instead of .click, try .fire_event(onclick). I don't believe the div
element has the .click method.
On Saturday, March 31, 2012 10:41:37 PM UTC-7, srinivasarao jyothi wrote:
Hi There,
I am facing so many problems when i am trying to convert my code to
suite webdriver. Please help me out
The pattern I think you're going to want to use is something like this (you
should do your own experimentation with the page you're testing to find the
exact combination of Watir hows and whats, in terms of elements and
tags on the page, is going to work for you):
@browser =
If I understand your question correctly, here's the basics of how to do it
in Watir-webdriver (not 100% about Watir, but it's probably the same)...
*module Watir*
* class Element*
*def target*
* @how = :ole_object *
* return @o.target*
*end*
* end *
*end*
That code will then
It's helpful not to create a new thread when you are posting a
reply--especially to your own messages!
--
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
Can you provide a little more detail about your problem?
The problem is that the new window *appears too fast???*
*
*
And why is this a problem? What would you rather have happen, exactly?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Last question:
What happens when you add the line:
browser2.close
...to your script? Or do you want the window to stay open, but hidden?
Basically, it would help if you provided more detail. :-)
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
I just updated to 0.5.2. I then ran a script that was working yesterday and
got this error:
NoMethodError: undefined method `now' for Watir::Time:Class
... caused by an admittedly kludgy custom method that I've written to
extend the Browser class...
module Watir
class Browser
def
Cool. 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
watir-general+unsubscr...@googlegroups.com
You need to define your own Classes and Class variables (and methods) for
that to work. This is more a question of how to write effective Ruby code
than it is a question of how to write your Watir scripts.
--
Before posting, please read http://watir.com/support. In short: search before
you
My first thought would be to include 'cgi' try
CGI::escapeHTML(your_string) and see if that works for you.
If that, or some variant, doesn't work for you then I suggest you may want
to ask this on StackOverflow and see if there are any Ruby gems that will
encode/decode the target string so it
My first thought would be to add the line* include 'cgi' *to your scripts,
then try CGI::escapeHTML(your_string) and see if that works for you.
If that, or some variant, doesn't work for you then I suggest you may want
to ask this on StackOverflow and see if there are any Ruby gems that will
Just an FYI... Turns out it was a bug that shows up when you view the page
in IE9. :-)
The buttons you're expecting to see don't show up in IE.
Aren't browser compatibility bugs fun?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
On a page I'm testing, I have a div that Firebug shows like this:
div id=joinrequestbuttons_widget style=
That div is a parent of a number of buttons that are displayed or hidden
depending on circumstance.
When I have watir-webdriver show me the HTML of that div, however, this is
what it
Alister's method, discussed here:
http://watirmelon.com/2011/08/12/automate-entering-text-into-wysiwyg-editors-using-watir-webdriver/
...works great, for me--with the exception of clicking on images in the
editor's contents, as I've detailed.
Even jQuery hasn't been working for me, so I've got
You're exactly right, Chuck. It's not a pop-up at all, but a div that's
hidden until the button in question is clicked. This web site's pages are
chock full of these little beasties.
I'll take a look at Sikuli as soon as I get a chance. Thanks!
--
Before posting, please read
Chuck, Sikuli looks interesting, but it seems like a nightmare of overhead
to use with Ruby, if this blog post is to be believed:
http://blackrat.org/ruby/getting-sikuli-script-working-with-jruby-on-the-mac/
I need to install Java, The Sikuli IDE, modify the $CLASSPATH, etc. etc.?!
Ugh. All
For my part, I really hate item 1 and wish it would go away.
--
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
watir-general+unsubscr...@googlegroups.com
Could someone provide advice on how to monkey patch watir-webdriver so
that I can avoid the dreaded
*Selenium::WebDriver::Error::MoveTargetOutOfBoundsError:
Element cannot be scrolled into view:[object HTMLButtonElement]* error?
I don't need all the other overhead of the qa_robusta gem, so
Why test someone else's product?
I'm not. Unfortunately, however, the system being tested only provides one
means of getting to a dialog box I need to get to, and that's via the
tinyMCE Editor. Here's the use case:
Ensure the user can modify the default address value of the Google Maps
item
Thanks for the help, you guys!
In addition to upgrading to 2.16 I wrote the following method and put it in
Watir::Browser:
*def back_to_top*
* self.execute_script(javascript:window.scrollTo(0,0))*
*end*
I'll put that into my scripts if it becomes necessary (which I hope won't
FYI, my temp solution is throwing some jquery in my methods. Fun fun.
--
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
watir-general+unsubscr...@googlegroups.com
*Use Case:* Using Watir-Webdriver, I need to access a menu that appears
when clicking an image in the Content Body of the TinyMCE Editor.
*Problem:* Clicking the image manually brings up the menu, but I haven't
found a way to get it to happen with watir-webdriver. I've tried .click,
One more thing I noticed: when I use .right_click on the image, the
Browser's context menu appears in the upper left corner of the browser
window, which implies that the click event is not occurring directly on the
target image itself. I'm guessing that this is a requirement for tinyMCE to
Sure thing!
First, manually, go to that site and click on the tinyMCE logo in the
editor. It will then look like this:
https://lh5.googleusercontent.com/-qvTOc8b86gY/TwSKGqISs4I/AzQ/WDupc0lvdQs/s1600/tinymce.jpg
The particular thing to note is the resizing controller that
I just upgraded from Firefox 6 to Firefox 9.
I'm using watir-webdriver, and prior to the upgrade this command was
working fine:
@browser.execute_script('window.resizeTo(screen.width, screen.height)')
Now the window is not resizing.
Anyone know if this is some kind of security update for FF9?
Just found the depressing answer to my own question:
https://developer.mozilla.org/en/Firefox_7_for_developers#DOM
window.resizeTo https://developer.mozilla.org/en/DOM/window.resizeTo ,
window.resizeBy https://developer.mozilla.org/en/DOM/window.resizeBy ,
window.moveTo
Wow, thanks, Željko!
I don't know why I didn't already know about those methods. I feel dumb.
smh
Abe
--
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
I am definitely also experiencing a variant of this problem. The menu I
want appears partially obscured in the upper left corner of the browser and
the script throws the MoveTargetOutOfBoundsError.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be
Jari, isn't there already an issue open for this?
https://github.com/jarib/watir-webdriver/issues/46
--
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
Do your scripts have the magical line...
# coding: UTF-8
... at the top?
--
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
watir-general+unsubscr...@googlegroups.com
I use cheezy's http://www.cheezyworld.com/ Page Object
gemhttps://github.com/cheezy/page-object,
actually. But in some cases (like this one) I need methods customized to my
application, obviously.
This was my first foray into the world of define_method (I'm still
basically a n00b to
There are a few different gems that help with page objects that are a bit
easier to use.
-- Oh, *now *you tell me, after I've written over 8000 lines of code.
:-)
You have any particular favorites and reasons why you like them over
Cheezy's gem?
--
Before posting, please read
Thanks, guys!
I love that there's always deeper coding waters out there when I find I'm
ready to wade further in.
--
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
Hey guys!
I realize this may be a question that it would be more proper to ask in a
Ruby forum, but I thought I should ask it here first since you're all so
helpful...
I created a module and a method that defines other methods, thus...
module TopMenuBar
def menu(name, menu_id, link_id,
Never mind. I figured it out. My method def was missing a self. ...
def *self.*menu(name, menu_id, link_id, target_class)
define_method(name) {
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
I'm seeing an annoying issue that I suspect has to do with objects inside
page frames and Selenium and Watir-Webdriver.
I brought up part of it already in this post:
https://groups.google.com/d/topic/watir-general/gIgtHbFxfbw/discussion
Here's a similar issue:
If I reference some text on a
Oops!
Chuck, thanks for the reminder about Page Object. I just discovered the
source of the problem was that I had two methods with the same name in this
page class.
Argh!
False alarm.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Hey guys,
I'm using watir-webdriver (0.3.3) and Test::Unit.
In my code I'm trying to validate that an object is NOT present on the
page...
assert_equal(false, @browser.button(:id=post).exist?)
...However, instead of getting the false result for the .exist?,
apparently it's throwing this
In Watir you can get an array of all items in a selection list menu.
This method appears to be missing from watir-webdriver.
I've looked through the RDocs for watir-webdriver, but can't seem to find
the equivalent method. Am I blind, or is there no such method?
--
Before posting, please read
At the top of my scripts I use the magical line:
# coding: UTF-8
After that, extended ASCII should work.
I know it sounds crazy.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
While using watir-webdriver and driving Firefox 5, if I click a link...
*browser.link(:how, what).click*
...and that link that has a *target=_blank* in it, then instead of opening
the page in a new tab (which is what happens if I click it manually), I get
a new browser window, which is no
You could write your own rescue clause for the error:
begin
browser.select_list(:name, 'select').fire_event('change')
rescue WIN32OLERuntimeError
puts A message that will tell you it can't find the element you wanted.
end
Hope that's helpful.
Abe
--
Before posting, please read
Upgrading to Firefox 5 has eliminated the link clicking problem.
--
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
watir-general+unsubscr...@googlegroups.com
Okay, this one's a head-scratcher...
Environment:
- Windows 7
- Ruby 1.9.2
- Watir-webdriver 0.2.5
Goal:
I've got a page with a list of links, from A to Z, and I need my script to
iterate through each of those links.
Here's my code:
#===
chars = ABCDEFGHIJKLMNOPQRSTUVWXYZ
I switched my code to try using the ids of the links instead of the text,
like so:
$ff.link(:id, ExternalLink_#{x}).click
...It *still *skips the letter B!
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
I spoke too soon, earlier. It's not only B that it does not click. It also
fails to click on E, G, I, J, and K, so far. But the script flashes all
these links without a problem.
I can't see any significant differences in the formatting of the HTML for
the links that work versus the links
Yet another update: It all works correctly if watir-webdriver is driving
Chrome, not Firefox 3.6.13.
--
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
*ARGH!*
Clicking the letter links works in Chrome, but this code, which was working
fine in Firefox, does *NOT *work in Chrome:
$ff.select(:id, status).select(Inactive)
If I flash that select box it flashes just fine. It does not error out. It
just does not update to Inactive--in Chrome.
--
Tried updating to Ruby 1.9.2 and Watir 1.9.0 today. Immediately ran into
this same problem again when I tried to run a test script with Firefox.
Firefox doesn't want to open.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Reporting this here because I'm not sure where else to post it and also
because it's perhaps already been reported as a bug.
I have a web page that contains tab-delimited text.
When I go to that page using Watir and the following code...
x = browser.text
p x
The output I get looks like this:
Watir has the .attach method.
How do I attach to an existing browser window using watir-webdriver?
I need this because, for example, I have scripts that delete the browser
cookies file and if they can't do this they look to see if there are open
browser windows, close them, then try to delete
Found something that will hopefully be helpful...
http://www.natontesting.com/2009/09/21/kill-process-by-name-using-ruby-on-windows/
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
It's been a simple matter of putting the link to the file in the browser
address bar.
I suppose I can switch to opening it directly, though.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Ah. Okay. Here's why I can't do that:
Because the file is on a server whose drive is not mapped locally. So,
File.open(http://69.71.52.209/tmp/fb-pixels.log;, r) results in a The
system cannot find the file specified. error.
--
Before posting, please read http://watir.com/support. In short:
Sweetness! You rock.
--
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
watir-general+unsubscr...@googlegroups.com
Thanks, Chuck!
--
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
watir-general+unsubscr...@googlegroups.com
Yes. I understand the mechanics of what's going on. I was wondering the
why, though.
Sadly, it looks like it's the same amount of code to write, either way you
go.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
So, I navigate to a page on my test site and define a bunch of variables as
page objects, like so:
site_name = browser.text_field(:id, sitename)
site_url = browser.text_field(:id, url)
etc. ...
I then navigate to a new page with a browser.goto. On the new page I define
some additional
What's the thinking behind going with the structure...
def field_name
browser.thing(:how, what)
end
...versus simply:
field_name = browser.thing(:how, what)
?
Are there advantages/disadvantages with each?
--
Before posting, please read http://watir.com/support. In short: search before
Good to know. 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
watir-general+unsubscr...@googlegroups.com
I need to get the href value of links on a page that match a regex.
So, I run this code:
product_links = browser.links.find_all { | link | link.class_name =~
/(Product|Detail)/i }
I get back an array of matching links. This is great.
However, the contents of the array include more than just
Figured out the answer myself. After the fact it's obvious:
product_links[0].href
--
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
Test script won't start Firefox.
I need clarification on this, because I recently updated two machines--one
Windows 7 and one XP--to Ruby 1.9.2 and Watir 1.8.1.
Both machines have FF 3.6.17, with the 0.9 jssh plugin installed.
Both machines, prior to the update, ran my Firefox scripts without
In the interest of completeness and clarity, here's the text of the error we
get:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/firewatir-1.8.1/lib/firewatir/firefox.rb:156:in
`rescue in set_defaults': Unable to connect to machine : 127.0.0.1 on port
9997. Make sure that JSSh is properly installed and
UPDATE:
Reverting the machine to using Ruby 1.9.1 clears up the problem.
Sad, because I was hoping to be able to continue to move to using
Watir-webdriver more and more, as it matures, but Watir-webdriver has issues
with Ruby 1.9.1.
--
Before posting, please read http://watir.com/support. In
Firefox now opens without error. This is great.
Unfortunately I've run into other incompatibilities and unsupported methods,
now. I'll detail those in other posts.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
Thanks for the info. Based on what I've seen on the blogosphere, upgrading
from 1.9.1 to 1.9.2 is not pleasant.
I'll report back my results once I get through it. Not going to be today,
though, since I have a bunch of regression scripts to run in order to pass a
release candidate. Not a good
When running a Webdriver script against IE or Chrome (in Windows 7 or XP)
everything works great. However, as soon as I switch it to Firefox, with
this command:
browser = Watir::Browser.new :firefox
The script fails when trying to open the browser, with this error message:
Unfortunately that just fails with an unknown method error.
There aren't any text fields in the part of the screen that I want to get
to. Perhaps this method only works with text fields?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
My code:
$ff.checkbox(:id, stdOptOut).document.scrollIntoView
Error result:
test.rb:7:in `main': undefined method `scrollIntoView' for :String
(NoMethodError)
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Still get the same error. Oh well.
--
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
watir-general+unsubscr...@googlegroups.com
1 - 100 of 113 matches
Mail list logo