{"repo":"britka/playwrightium","free":true,"listed":false,"github":"https://github.com/britka/playwrightium","clone":"git clone https://github.com/britka/playwrightium.git","description":"Run Selenium or Selenide tests with Playwright Java","language":"Java","stars":66,"topics":["automation","playwright-java","selenide","selenium","selenium-java","selenium-webdriver","playwright"],"license":"Apache-2.0","category":"scrapers-browser-automation","readme_excerpt":"Playwrightium Intro Playwrightium is the implementation of Webdriver interface with Playwright Java inside. This combination allows us to run Selenide tests with Playwright without rewriting the code. The story I like Java. I like Selenium. I like Selenide. But also I like Playwright Java. But I want to use all (or almost all) features of Playwright and continue using Selenide syntax. What should I do? I developed Playwrightium. How to install Maven Add to your pom.xml Add dependency Gradle This dependency encapsulates Selenide Playwright Java How to use as regular webdriver You can use it like a regular Webdriver For example: If you need more example please refer to the playwrightium tests [!NOTE] For the first time Playwright will install browsers images: chromium firefox webkit (Safari) After installation your test will run. [!NOTE] If you want to skip browsers download you should set up this using PlaywrightiumOptions and tell Playwrightium to use local browser Example: What Playwrightium can do Navigate to url Search for element and element collections by different locators: By.xpath By.cssSelector By.id By.name By.linkText By.partialLinkText By.className By.tagName For example: Also you can use Playwright locators See documentation For this use PlaywrightiumBy class: PlaywrightiumBy.byRole PlaywrightiumBy.byAltTextbyLabel PlaywrightiumBy.byPlaceholder PlaywrightiumBy.byTestId PlaywrightiumBy.byText PlaywrightiumBy.byTitle For example: Work with WebElements For example [","default_branch":null,"files":null,"tree":[],"storefront":"/r/britka","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/britka/playwrightium/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}