
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
playwright-mail-reporter
Advanced tools
Mail reporter for Playwright which allows you to send the test results via email.
This reporter allows you to send an email with the test results after the test run is finished.
To use this reporter, you will need to have the SMTP server details to send out the emails. Make sure you have the following details:
Install from npm:
npm install playwright-mail-reporter
You can configure the reporter by adding it to the playwright.config.js
file:
import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
[
'playwright-mail-reporter',
{
host: "<host>",
port: "<port>",
username: "<username>",
password: "<password>",
from: "<from>",
to: "<to>", // Comma separated list of email addresses
subject: "<subject>",
apiKey: "<api>"
}
]
],
});
Here is an example of how you can configure the reporter with Resend:
import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
[
'playwright-mail-reporter',
{
host: "smtp.resend.com",
port: 465,
username: "resend",
password: `<YOUR_API_KEY>`,
from: "Elio <no-reply@elio.dev>",
to: "Elio <elio@struyfconsulting.be>"
}
]
],
});
More information on how to use reporters can be found in the Playwright documentation.
The reporter supports the following configuration options:
Option | Description | Required | Default |
---|---|---|---|
host | The SMTP server host | true | undefined |
port | The SMTP server port | true | undefined |
username | The SMTP server username | true | undefined |
password | The SMTP server password | true | undefined |
from | The email address from which the email will be sent | true | undefined |
to | The email addresses to which the email will be sent (comma separated) | true | undefined |
subject | The subject of the email | false | Playwright Test Results |
linkToResults | Link to the test results | false | undefined |
mailOnSuccess | Send the email on success | false | true |
showError | Show the error details in the email | false | false |
quiet | Do not show any output in the console | false | false |
[0.0.8]
FAQs
Mail reporter for Playwright which allows you to send the test results via email.
The npm package playwright-mail-reporter receives a total of 990 weekly downloads. As such, playwright-mail-reporter popularity was classified as not popular.
We found that playwright-mail-reporter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.