Discussion:
[wtr-general] Automation Gmail logging issue
江南
2018-01-04 13:00:01 UTC
Permalink
I want to login to gmail but the code below does not send the email and
password to the web page and there is no error log:


require 'gmail'
@browser = Watir::Browser.new :chrome
@browser.goto "gmail.com"

username = "***@gmail.com"
password = "Password"
gmail = Gmail.new(username, password)

Here is my gems: https://gist.github.com/anonymous/89a928530731724fc91f89200b2c0939
--
--
Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
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
2018-01-04 15:23:27 UTC
Permalink
We can't really help if we don't know what is in the gmail class.

You can also set Selenium::WebDriver.logger.level = :info
And provide output.
--
--
Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
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...