-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMAIL - Unable to open the latest email and click on one of the link #11
Comments
Hello @samathan , quick question, how did you manage to login to gmail, last time i checked google blocks automated browsers from login in to their services, so i'm really curious :-) ! |
Hi @graphee-gabriel, you are right, even I have seen 2 types of blocking issues with 2 different gmail accounts. With another gmail account it says "You are trying to sign in from a browser or app that doesn't allow us to keep your account secure". |
Yes exactly mine is the second one. |
use
|
Hi,
I am trying to open the latest email in Gmail and click on one of the click. But I am unable to.
Here are steps using Puppeteer ,
2.Search for the "Unread email with the text"- Successful
Below is the code
await page.waitForXPath('//[@Class="zA zE"]');
const [emails] = await page.$x('//[@Class="zA zE"]');
if(emails)
{
await Promise.all([
await page.waitForNavigation(),
emails.click()
])
}
it says TypeError: Cannot read property 'click' of undefined
Could anyone please help me with this.
The text was updated successfully, but these errors were encountered: