Using MailSlurp to Accept New User Emails in Playwright Automation

  Рет қаралды 2,055

Ben Fellows

Ben Fellows

Жыл бұрын

In this video, we'll learn how to easily accept new user emails and open the link in a new context using Playwright Automation and MailSlurp. Playwright Automation's ability to have multiple contexts running at the same time allows you to easily switch between users without having to log out and go to an email client like Gmail.
MailSlurp is an API for SMS messages and emails that makes it easy to work with emails in your test cases without having to go into an email client. Connect to your MailSlurp account, create a new inbox with an inbox ID, and use the API to wait for the latest email with that ID. Pull the subject and any links from the email, and use them to open a new browser context with a new page. Navigate to the URL using page1.goto(url) and you're all set!
If you want more content, please Subscribe!
If you prefer written content, check out our website!
Article: www.workwithloop.com/blog/usi...
Blog: www.workwithloop.com/blog/
If you prefer to let the experts do it, just reach out!

Пікірлер: 3
@Aowek955
@Aowek955 Жыл бұрын
hey Ben, could you make a complete step by step video of this? I have been trying for the past week to make the test work but I didn't have any success. Thank you.
@mailslurp
@mailslurp Жыл бұрын
Wonderful!
@benfellowsloop
@benfellowsloop Жыл бұрын
Many thanks!
How to send email using Gmail API (uses OAuth2 and nodemailer)
17:55
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 29 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 15 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
Visual Testing, Playwright Testing, Testing Frameworks, oh my!
1:13:09
The Test Automation Experience
Рет қаралды 3,7 М.
Reuse Playwright  Code across Files and Tests with Fixtures
5:54
Class 4 - How to Install Mailosaur and write scripts in Playwright Javascript
11:08
Automation and Stuff with Bhadmus
Рет қаралды 248
Testing HTML emails using Cypress
9:20
gleb bahmutov
Рет қаралды 10 М.
Playwright E2E Testing - Email Verification Tutorial
18:30
Visioncraft
Рет қаралды 3,5 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 612 М.
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 29 МЛН