Uploaded July 2023 | Updated September 2026, 1 week ago
We live in the golden age of web application testing. We have two leading testing tools Cypress and Playwright being actively developed and widely used. This course teaches both tools using the same web application examples. I will try highlighting the differences between the two test runners and the strengths of each one. The course lessons are available at https://cypress.tips/courses
We live in the golden age of web application testing. We have two leading testing tools Cypress and Playwright being actively developed and widely used. This course teaches both tools using the same web application examples. I will try highlighting the differences between the two test runners and the strengths of each one. The course lessons are available at https://cypress.tips/courses



![Dispatch Custom HTML Events From Cypress Tests
Sometimes an element on the page subscribes to custom events. You can dispatch events using plain HTML method el.dispatchEvent or by using Cypress command cy.trigger
cy.get(#signal).then(function ($el) {
$el[0].dispatchEvent(new CustomEvent(go))
})
// using cy.trigger
cy.get(#signal).trigger(warn)
Find the full example recipe at https://glebbahmutov.com/cypress-examples/ Dispatch Custom HTML Events From Cypress Tests](https://i.ytimg.com/vi/qCqzS3LtSeI/mqdefault.jpg)






