Selenide VS Playwright

Compare Selenide vs Playwright and see what are their differences.

Selenide

Concise UI Tests with Java! (by selenide)

Playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. (by microsoft)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Selenide Playwright
8 381
1,786 61,799
0.6% 1.5%
9.6 9.9
3 days ago 3 days ago
Java TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Selenide

Posts with mentions or reviews of Selenide. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-19.
  • Beginner’s Guide To Test Automation With Java (TestUI)
    4 projects | dev.to | 19 Jan 2023
    TestUI combines 2 different paradigm test automation frameworks, i.e., mobile (Appium) and desktop (Selenide), into one neat framework. In our opinion, it’s a great framework that offers vast functionality with easy-to-learn syntax, not to mention full access to Selenide methods in case something tricky needs to be done.
  • How to Accelerate Selenide Tests with Playwright
    8 projects | dev.to | 4 Jan 2023
    Selenide – A wrapper for Selenium, Selenide consists of many other tools, including Selenium, WebdriverManager, and BrowserUp Proxy. Selenide is well-organized and comes with good documentation and a large community. It enables you to simplify complex tasks, for example: file download, autostart and autostop of the browser, using a proxy, etc. Though it officially supports only Java, there is also an unofficial port in Python called Selene.
  • [Help] Selenium cannot find the element
    1 project | /r/softwaretesting | 29 Mar 2022
    I'd like to add to recommendations for Java with Selenium like stuff: https://selenide.org/ Selenide is a framework that sits on top of Selenium. It makes things so much easier. If you have the opportunity to use it, you can make your life much easier than straight Selenium.
  • Why You Always Have To Close Your Article With A Call To Action AKA A Brief Introduction To Hashnode Widgets By Miki Szeles
    4 projects | dev.to | 18 Mar 2022
    Here it is: Contribute to the open-source Selenideium Element Inspector Chrome Extension, with which test automation teams can save hours daily by automatically generating all the relevant selectors for Selenide, Selenium, Cypress, Playwright, Squish and TestCafe.
  • My First Month on Hashnode - A Retrospection About Blogging on Hashnode Developer Journaling Platform by Miki Szeles
    1 project | dev.to | 10 Mar 2022
    After a few weeks, István told me it would be great if I could write some articles. Being an introvert I did not really like the idea , but after 1-2 weeks I was sitting at home in front of my computer on a Sunday afternoon and I started to feel I want to write an article about Selenide, to share with the world how awesome it is.
  • What to consider when choosing a language for Selenium?
    1 project | /r/softwaretesting | 4 Dec 2021
    I would highly recommend not using straight Selenium and instead go to https://selenide.org/. It's a wrapper for Selenium that more often than not prevents you from ever having to worry about writing or maintaining wrappers, and handles most all of the framework needs for you, while still allowing you to very easily dig into the Selenium specific stuff you may need. It's saved me so much time it's ridiculous to even consider using straight Selenium anymore, if you have Java as an option.
  • This sounds like spam, but....
    1 project | /r/softwaretesting | 22 Jun 2021
    Guys you should REALLY PAY ATTENTION to this. This is a free project. I've done TA and it works like magic. No more stale element exceptions and waiters and browser hussle.
  • Is there a framework that you use?
    2 projects | /r/softwaretesting | 18 May 2021
    Is there a working framework that you use in your daily work? I've written my little framework (Java,TestNG). Simple singleton with a bunch of services (Actions, Robot, Waiters etc). And then I've found this and this. I've tried examples. Google search in both cases. Understood nothing. Read some docs. Didn't benefit. But these guys are right, selenium webdriver is just a webdriver. You have to write a decent amount of wrapper code. I mean. We have a lot of great frameworks almost in any given field, but when it comes to testing there is no "out of the box" running fw. Hell. You can get a fully-running web-site in a day using Laravel or Spring Boot.

Playwright

Posts with mentions or reviews of Playwright. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-01.
  • Typed E2E test IDs
    2 projects | dev.to | 1 May 2024
    We start with a project that was bootstrapped with npx create-next-app. For the E2E test we use Playwright and set it up as described in the testing guide provided by Next.js.
  • Playwright Scraping infinite loading & pagination
    2 projects | dev.to | 1 May 2024
    Playwright is a powerful tool developed by Microsoft, it allows developers to write reliable end-to-end tests and perform browser automation tasks with ease. What sets Playwright apart is its ability to work seamlessly across multiple browsers (Chrome, Firefox, and WebKit), it provides a consistent and efficient way to interact with web pages, extract data, and automate repetitive tasks. Moreover, it supports various programming languages such as Node.js, Python, Java, and .NET, that’s making it a versatile choice for web scraping projects. Whether you're scraping public data for analysis, building a web crawler, or automating manual workflows, Playwright has you covered.
  • Sometimes things simply don't work
    3 projects | dev.to | 23 Apr 2024
    The consensus I could gather is either use playwright or use a workaround to solve it in the puppeteer layer. The root cause of the bug is a websocket size limitation on the CDP protocol for chromium.
  • The best testing strategies for frontends
    8 projects | dev.to | 22 Apr 2024
    With the advent of tools like Puppeteer and now Playwright, end-to-end testing has become much easier and more reliable. For anyone who's used Selenium in the past, you know what I'm talking about. Puppeteer has opened the way in terms of E2E tooling, but Playwright has taken it to the next level and made it easier to await for certain selectors or conditions to be fulfilled (via locators), thus making tests more reliable and less flaky. Also, it's a game changer that it introduced a test-runner - this made the integration between the headless browser and the actual test code much smoother.
  • Playwright Web Scraping 2024 - Tutorial
    1 project | dev.to | 18 Apr 2024
    In this tutorial, our main focus will be on Playwright web scraping. So what is Playwright? It’s a handy framework created by Microsoft. It's known for making web interactions more streamlined and works reliably with all the latest browsers like WebKit, Chromium, and Firefox. You can also run tests in headless or headed mode and emulate native mobile environments like Google Chrome for Android and Mobile Safari.
  • The best testing setup for frontends, with Playwright and NextJS
    5 projects | dev.to | 18 Apr 2024
    // playwright.config.ts import { defineConfig } from "@playwright/test"; /** * See https://playwright.dev/docs/test-configuration. */ export default defineConfig({ testDir: "./src/pages", reporter: "list", use: { baseURL: "http://localhost:5432/", }, timeout: process.env.CI ? 10000 : 4000, // ... more options });
  • ✍️Testing in Storybook
    1 project | dev.to | 18 Apr 2024
    Issues with Playwright
  • Episode 24/14: Angular Query, New Template Syntax
    1 project | dev.to | 16 Apr 2024
    Fast and reliable end-to-end testing for modern web apps | Playwright
  • Adding standalone or "one off" scripts to your Playwright suite
    1 project | dev.to | 8 Apr 2024
    This means you cannot place test files outside of this directory, which was brought up as a question on Github some time ago. Initially, I thought it would be nice to add another folder in the repo called "scripts", but Playwright does not allow multiple testDir values.
  • Learn Automated Testing At Home: A Beginner's Guide
    4 projects | dev.to | 4 Apr 2024
    4.Playwright: Playwright is a browser automation library by Microsoft. Key Features: Supports Chromium, Firefox, and WebKit. Provides cross-browser testing capabilities. Allows automating web, mobile, and desktop applications

What are some alternatives?

When comparing Selenide and Playwright you can also consider the following projects:

Cucumber - Cucumber for the JVM

WebdriverIO - Next-gen browser and mobile automation test framework for Node.js

Awaitility - Awaitility is a small Java DSL for synchronizing asynchronous operations

undetected-chromedriver - Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

REST Assured - Java DSL for easy testing of REST services

TestCafe - A Node.js tool to automate end-to-end web testing.

AssertJ - AssertJ is a library providing easy to use rich typed assertions

nightwatch - Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack

Karate - Test Automation Made Simple

Cypress - Fast, easy and reliable testing for anything that runs in a browser.

Apache JMeter - Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services

playwright-python - Python version of the Playwright testing and automation library.