support for html5 data-* attributes by using :data_* for locating and #data_*
for retrieving attribute values
On Friday, August 10, 2012 4:28:53 AM UTC+10, Abe Heward wrote:
If I want to monkey patch Watir to recognize custom HTML attributes
(custom_attrib in the example code) I just add
Just use -d webdriver_performance when starting the providers and it should
load/expose the relevant gem/methods when executed via the controller.
Let me know how u go.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
The short answer is that tools like watir are great for UI automation and
validating end user experience under load. I sometimes use watirgrid to help
drive multiple browsers fom different locations.
But to generate significant load in terms of things like concurrency/throughput
it's much
The headless (ala xvfb) options are tempting, but you're still process
bound. In my experiments I've managed to get 3 to 5 headless browsers
running before performance suffers on the client side (obviously dependent
on size of desktop/VM you're doing this on)... So you still need alot of
VMs
Well it appears from the OP error that the return object
of Browser#execute_script is a WebDriver::Element.. hence my code is
failing as it expects a hash.
I'm not sure why this is doing it on Win2K8 R2 with IE9, as I don't have
that development platform... but it was tested on Win2K3 with IE9
Hi George,
Each grid provider has a hostname attribute e.g.
grid = Watir::Grid.new(:controller_uri = 'druby://124.180.42.243:11235')
grid.start
grid.browsers
= [{:name=:WatirGrid, :class=:WatirProvider,
:object=#Watir::Provider:0x007ffaf38973d0, :description=A watir
provider,
Hi George, it doesn't matter about ruby versions.
Your code is incorrect, *browser* doesn't have an array of attributes,
browser is the actual browser!
To get the grid browsers attributes, you need to call the *browsers* method
of the *grid* object. So show me the about of the following in
It's a bit hard to answer without seeing your code...
--
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
Essentially what Željko said.
Most people that email me about it seem to be using watirgrid to distribute
tests over a small amount (less than 10) remote machines. Sometimes in order
to speed up tests (manually carved up and distributed) or to run the same
test but in different browsers at the
To be honest I'm a little bit sad this has happened!
But on the positive side I would like to send out a tremendous THANK
YOU to you both for getting Watir to where it is now. That includes
integration with firewatir and a solid framework from which to further
develop.
I feel guilty using
10 matches
Mail list logo