Hi Shekhar
Did you find a resolution to this issue, I have been seeing this
recently?
Thanks
Mo
On Apr 4, 2:22 pm, shekhar karande shekhar.kara...@gmail.com wrote:
Hi I am running a few tests on Firefox using Watir web-driver, I face the
c is null (Selenium::WebDriver::Error::UnknownError)
How is it possible to get browser IP with Watir? I'm using proxy and I
want to verify if it's working correctly. Perhaps there is some other
way if proxy is working?
Here's my current code:
profile = Selenium::WebDriver::Firefox::Profile.new
profile.proxy = Selenium::WebDriver::Proxy.new :http
On Wed, Apr 18, 2012 at 4:06 PM, introvert aljaz.faj...@gmail.com wrote:
How is it possible to get browser IP with Watir?
Left a comment at http://stackoverflow.com/q/10205040/17469
Željko
--
watir.com/book - author
--
Before posting, please read http://watir.com/support. In short: search
There are a number of websites that will report your IP address back to
you. Hit one and pull the value from the text (regular expressions are
your friend)
http://whatismyip.org/
www.whatsmyip.org
I like the first one best when using it manually (it's cleaner and less
cluttered) But since
Hi,
I'm looking for a way to use a single ruby script to execute all of my
test script within three browsers (chrome/ff/ie). One script, say
main.rb, has the following code:
def launch_browser (browser)
if browser == :chrome
@b = Watir::Browser.new :chrome, :switches = [==ignore-certificate-
That won't work as easily as that because not all browsers take :switches
It will fail when you try to run the browser as anything other than chrome also
in order to run it for the different browsers you would need to edit the fire
probably better to set up an environment variable so you can
Agree with what Oscar says below
An environment variable is an easy way to pass the settings on the fly
since a lot of CI systems have the ability to do that.
I'd still use your launch_browser method, but inside it use a case
statement for the browser and then you can have appropriate
Really works quite nice on a Mac for the first version!
On Tuesday, April 17, 2012 4:11:54 PM UTC-4, Chuck van der Linden wrote:
FYI
the Watir-Webdriver blog has a new blog post up that describes the current
state of Safari support (which is still kinda DYI)
I followed the example in this blog:
http://watirmelon.com/2010/12/14/watir-webdriver-a-detailed-introduction/
I grabbed the selenium-server-standalone jar and put in my app folder
# This is working on Windows/JRuby!
require rubygems
require bundler/setup
require watir-webdriver
require