Hi!
I have written about debugging #click_no_wait long time ago:
http://itreallymatters.net/post/378669758/debugging-watirs-click-no-wait-method-problems
This might still apply nowadays.
Jarmo
On Thursday, January 9, 2014 9:48:34 AM UTC+2, Stefano wrote:
Hi, no one has had the same problem?
1In which dir i suppose to save txt file
2getting error for
require 'watir'
file=File.new(e:\result.txt,r)
file.puts Now, write #{i}
file.close
=error
esult.txt (Errno::EINVAL)Invalid argument - e:
from 11.rb:3:in `new'
from 11.rb:3:in `main'
On
On Thu, Jan 9, 2014 at 11:20 AM, Stephen Nelson-Smith sanel...@gmail.com
wrote:
1) The browser goto method just takes a string. I can't see how to do
anything as clever as pass HTTP headers.
This is how to do it with PhantomJS:
http://stackoverflow.com/a/20568647/17469
I am not sure if it
Why are you requiring win32ole in the first place?
If you end up loading watir-classic, then it will be loaded for you. Or
doesn't it?
Jarmo
On Thursday, January 9, 2014 1:33:55 PM UTC+2, marcwest...@gmail.com wrote:
the order of the requires are ...
require 'rubygems'
require 'watir'
[1] pry(main) f = File.new('foo.txt', 'w+') #Change the r in the second
argument because you need to write to the file.
= #File:foo.txt
[2] pry(main) f.puts 'dsfdsfs'
= nil
[3] pry(main) f.close
= nil
[4] pry(main) File.read 'foo.txt'
= dsfdsfs\n
[6] pry(main) puts e:\result.txt #You have to be
Hey everyone. Anyone know if there are plans to build in support for
appium tests into watir-webdriver? Alister has a great post on getting
started with selenium-webdriver, but support in watir-webdriver is missing
currently.
Actually, I've gotten it to work with watir-webdriver. It seems that in
the element locator that :name is not a valid finder, but this is used
pretty heavily in iOS. I was able to patch and add it back in. Let's see
how much farther I can get.
require 'rubygems'
require 'watir-webdriver'
I just make sure everything I need to interact with has an id and it works
just fine.
On Fri, Jan 10, 2014 at 4:22 PM, Dan dfra...@gmail.com wrote:
Actually, I've gotten it to work with watir-webdriver. It seems that in
the element locator that :name is not a valid finder, but this is used
hint Google Ruby Class file
http://www.ruby-doc.org/core-2.0.0/File.html
On Monday, September 14, 2009 5:36:50 AM UTC-5, msazeez28july wrote:
Hi,
We have watir scripts which requires url, username, password and
path (location of the datatables).
These parameters are
I'm not 100% clear on what the requirements are in terms of ids and that
sort of thing is with iOS apps, but I don't see an id attribute in the
appium inspector. Even the appium documents don't say anything about using
ids?
https://github.com/appium/appium/blob/master/docs/finding-elements.md
Seems like a lot of overhead reading and parsing a file that way.
Look at http://roo.rubyforge.org/ the Roo gem. I believe you'll find
useage and hints in this list somewhere.
You may want to rethink into using Ruby Class Hash for this as well.
myParams = { 'url' =
I was taking about using mobile safari not for native apps
On Fri, Jan 10, 2014 at 4:46 PM, Dan dfra...@gmail.com wrote:
I'm not 100% clear on what the requirements are in terms of ids and that
sort of thing is with iOS apps, but I don't see an id attribute in the
appium inspector. Even
12 matches
Mail list logo