Rayrun
← Back to Discord Forum

Playwright + database

marcink5356posted in #help-playwright
Open in Discord

Hi ! if you have Playwright with TypeScript - how to make queries to database ? Any plugin to work with database ? How do you do if needed ?

This thread is trying to answer question "How to make queries to a database using Playwright with TypeScript? Is there any plugin to work with the database?"

3 replies

Depends on the database but there are plenty libraries for db https://www.npmjs.com/search?q=database

So no dedidated plugin from Playwright - just some connector directly from programming language ? I ask because Cypress offers some plugin 🙂

No such thing as plugins in Playwright. It's a node code like any other so you can use any other node database lib to manipulate your database.

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.