Thank you Dan, you are the Man!)
Before I did not understand that I should use id of the upload button web
element, I tried to use there system window title.
Now this construction works well and my knowing of Watir methods increased!
Thanks again, have a nice day!
On Tuesday, January 21, 2014
browser = Watir::Browser.new :chrome not works on my machine
On Thursday, January 16, 2014 12:02:06 AM UTC-8, Priti Fhuse wrote:
i fetch chrome by
system('start http://www.google.com') coz browser = Watir::Browser.new
:chrome not works on my machine
this line in watir
but how to write
You have to be more specific about it not working. We need logs,
stacktraces, etc. to be able to help diagnose your issue.
On Tuesday, January 21, 2014 5:23:30 AM UTC-5, Priti Fhuse wrote:
browser = Watir::Browser.new :chrome not works on my machine
On Thursday, January 16, 2014 12:02:06 AM
The ChromeDriver binary may not be installed.
http://code.google.com/p/selenium/wiki/ChromeDriver
And Dan pointed out that watir-webdriver needed to be installed. After that,
Watir::Browser.new should work fine.
On Tuesday, January 21, 2014 6:07 AM, Dan dfra...@gmail.com wrote:
You have
Hi,
I am new to Watir, and I can't seem to get a browser window to come up.
Here is the input and output of what occurs when I send commands to IRB.
irb(main):002:0 require 'watir-classic'
= true
irb(main):003:0 browser = Watir::Browser.new
NoMethodError: unknown property or method:
On Thursday, January 9, 2014 3:52:53 PM UTC-8, Sanjeev Singh wrote:
This is so nice of you Chuck. This really worked. Both the codes to click
on the button also worked.
Just one thing I am unsure about is the behavior of the Firefox browser.
When I run the below 3 lines of code, I get the