do you need to access gmail because you work at google? or do you need to
access an email that is being sent by your system to an email address that
happens to be a gmail acct?


On Wed, Jul 10, 2013 at 6:29 AM, maulik goswami <[email protected]> wrote:

> *require "watir-webdriver"*
> *require "gmail"*
> *br = Watir::Browser.new :chrome
> *
> *br.goto "gmail.com"*
> *gmail = Gmail.new("email address", "password")
> *
> *gmail.inbox.count(:unread)*
> *gmail.inbox.click(:unread, :from => "no reply registration
> email").label("Confirm Verification")*
>
> I was able to sign in with basic HTML IDs but as there where many tags
> inside Gmail so i install the gem for it.
> But i'm not even able to sign in with it so what am i doing wrong ?
>
> Thanks.
>
> On Wednesday, 10 July 2013 15:49:55 UTC+5:30, Željko Filipin wrote:
>
>> On Wed, Jul 10, 2013 at 12:12 PM, maulik goswami <[email protected]>wrote:
>>
>>> I've installed ruby *Gmail* gem and also made a sample script but it
>>> only goes to *Gmail* website after that script stops and returns the
>>> null value.
>>>
>>
>> Please share relevant Ruby code and error messages, if any.
>>
>> Željko
>> --
>> https://leanpub.com/watirbook
>>
>  --
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to