*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]<javascript:>
> > 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.


Reply via email to