Discussion:
[wtr-general] Which browser is the best to work with watir (in long term)?
Damián M. González
2017-08-03 13:48:59 UTC
Permalink
Hi guys.

In the past, I made some apps that uses watir for scrapping. The problem
was always the browser. Once a new browser version gets released, it breaks
the app. Is hard to disable auto-updates, at least with Firefox (I tried
many things, keeps getting updated); I tried to just stay with last version
working good with watir, which is the 45.4 (or close, if I'm not wrong) but
couldn't. The problem with Chrome was the chromedriver getting updated
almost every time a new version gets released (hence breaking the app). So,
due to all this issues, I ask, which browser do you think is the best to
work with watir in the long-term? I'm not saying keep Firefox and Chrome
out of the way, I'm saying: among all browser that works with Windows (this
apps works there), which one causes less pain?

Thank you guys very much in advance.
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Arik Jones
2017-08-04 11:53:53 UTC
Permalink
Firefox is probably your best choice for the long term. It’s cross-platform and you can use just about any version of Firefox you want.

If staying on the latest browser isn’t important and incredibly difficult, Firefox is usually my goto browser. But I will say that Watir is pretty great with all the browsers.
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Raja gopalan
2017-08-04 12:23:26 UTC
Permalink
Use Firefox and drive the firefox using Legacy firefox driver. You could
47.0.2 not above. Firefox driver has the visibility check if you use
selenium directly to drive the browser, but If you use WATIR, then it
directly handles that visibility check through program.
Post by Arik Jones
Firefox is probably your best choice for the long term. It’s
cross-platform and you can use just about any version of Firefox you want.
If staying on the latest browser isn’t important and incredibly difficult,
Firefox is usually my goto browser. But I will say that Watir is pretty
great with all the browsers.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Rajagopalan
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Damián M. González
2017-08-04 16:16:12 UTC
Permalink
Thank you guys for all the answers. I guess the choice has to be between
Firefox and Chrome. *I would choose Firefox, only if I can make stop the
auto-updates (which I couldn't for now)*. *Do you guys have any clue about
how to in fact make Firefox not getting auto-updated?* All this apps that
I've been talking about works mostly with local files, so I'm not worried
about having the last Firefox version, I just need a fixed Firefox versions
installed, and a fixed watir (and selenium) version working. I would
appreciate any help, thanks.
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Arik Jones
2017-08-04 18:23:36 UTC
Permalink
When installed via a package manager on a *nix platform, I've not had
issues with Firefox auto updating. Same with Chrome. I'd have to look into
it, but you may be able run the respective binary with a flag that turns
off auto updating or it might be baked into chromedriver or geckodriver.
I'm honestly not 100% sure.

Anyone else have with this?
Post by Damián M. González
Thank you guys for all the answers. I guess the choice has to be between
Firefox and Chrome. *I would choose Firefox, only if I can make stop the
auto-updates (which I couldn't for now)*. *Do you guys have any clue
about how to in fact make Firefox not getting auto-updated?* All this
apps that I've been talking about works mostly with local files, so I'm not
worried about having the last Firefox version, I just need a fixed Firefox
versions installed, and a fixed watir (and selenium) version working. I
would appreciate any help, thanks.
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Raja gopalan
2017-08-04 18:29:12 UTC
Permalink
Read what I write. Use legacy firefox driver,don't go for latest version of
Firefox you might fall into the risk of using Geckodriver,

Stopping the update of the Firefox is one of the easiest job in the world,
so try to figure out how.
Post by Damián M. González
Thank you guys for all the answers. I guess the choice has to be between
Firefox and Chrome. *I would choose Firefox, only if I can make stop the
auto-updates (which I couldn't for now)*. *Do you guys have any clue
about how to in fact make Firefox not getting auto-updated?* All this
apps that I've been talking about works mostly with local files, so I'm not
worried about having the last Firefox version, I just need a fixed Firefox
versions installed, and a fixed watir (and selenium) version working. I
would appreciate any help, thanks.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Titus Fortner
2017-08-04 18:54:25 UTC
Permalink
No, do not recommend using legacy Firefox driver with Watir. It is no
longer supported. The latest Firefox / geckodriver still is not feature
complete, and some development is still dependent on the W3C work
completing.

If you are looking for something fully featured, cross platform and stable,
Chrome is the way to go. There is a way to set it so that the browser
doesn't auto-update, but like I said you can let it auto-update so long as
you make sure that the driver is auto-updated as well, which is what the
webdrivers gem does for you.
Post by Raja gopalan
Read what I write. Use legacy firefox driver,don't go for latest version
of Firefox you might fall into the risk of using Geckodriver,
Stopping the update of the Firefox is one of the easiest job in the
world, so try to figure out how.
Post by Damián M. González
Thank you guys for all the answers. I guess the choice has to be between
Firefox and Chrome. *I would choose Firefox, only if I can make stop the
auto-updates (which I couldn't for now)*. *Do you guys have any clue
about how to in fact make Firefox not getting auto-updated?* All this
apps that I've been talking about works mostly with local files, so I'm not
worried about having the last Firefox version, I just need a fixed Firefox
versions installed, and a fixed watir (and selenium) version working. I
would appreciate any help, thanks.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Raja gopalan
2017-08-07 09:55:53 UTC
Permalink
I have been working with Firefox 47.02(last version which can be used with
Legacy Firefox driver) without any problem, and It's pretty stable. The
main reason I use in my application is,

1) It waits after click for page to load which won't happen if you use
Geckodriver

2) It performs the visibility check as well if someone uses selenium Ruby
binding directly(I know WATIR does this through programmatically) which
doesn't happen if you use Geckodriver.

3) In the case of Geckodriver, In my application it never select the select
list options properly but Legacy Firefox driver does that properly.

Totally Geckodriver is not a good choice for automation in my opinion.
Post by Titus Fortner
No, do not recommend using legacy Firefox driver with Watir. It is no
longer supported. The latest Firefox / geckodriver still is not feature
complete, and some development is still dependent on the W3C work
completing.
If you are looking for something fully featured, cross platform and
stable, Chrome is the way to go. There is a way to set it so that the
browser doesn't auto-update, but like I said you can let it auto-update so
long as you make sure that the driver is auto-updated as well, which is
what the webdrivers gem does for you.
Post by Raja gopalan
Read what I write. Use legacy firefox driver,don't go for latest version
of Firefox you might fall into the risk of using Geckodriver,
Stopping the update of the Firefox is one of the easiest job in the
world, so try to figure out how.
Post by Damián M. González
Thank you guys for all the answers. I guess the choice has to be
between Firefox and Chrome. *I would choose Firefox, only if I can make
stop the auto-updates (which I couldn't for now)*. *Do you guys have
any clue about how to in fact make Firefox not getting auto-updated?*
All this apps that I've been talking about works mostly with local files,
so I'm not worried about having the last Firefox version, I just need a
fixed Firefox versions installed, and a fixed watir (and selenium) version
working. I would appreciate any help, thanks.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google
Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
http://groups.google.com/group/watir-general
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
Rajagopalan
--
--
Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com

---
You received this message because you are subscribed to the Google Groups "Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...