1. Home
  2. API & Integrations
  3. Integrate Playwright with Vansah Test Management for Jira

Integrate Playwright with Vansah Test Management for Jira

Create a maven project in Eclipse IDE and in the pom.xml file generated and add the latest stable dependency for the playwright.

System Requirements:

  • Java 8 or higher.
  • Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL).
  • MacOS 12 Monterey, MacOS 13 Ventura, or MacOS 14 Sonoma.
  • Debian 11, Debian 12, Ubuntu 20.04 or Ubuntu 22.04.

1.Browser Binaries

  • Each version of the Playwright requires specific versions of the browser binaries to function.
  • This will be downloaded in the package installation time depending on the language you use.
  • Playwright works on Java, JavaScript, Python, Typescript and C#
  • Playwright can be used to run tests in Chromium, Firefox, Webkit, Microsoft Edge, Google Chrome and Microsoft Edge even without directly installing any of these on your local machine.
  • These binaries will be automatically downloaded into the system cache directory when your script runs for the first time.

2.Running your first script on Playwright

  • Upon implementing the ‘create ()’ method inside the Playwright interface, the Playwright server will get started.
  • Then you can decide which browser you need to launch and import that browser.
  • By default, it will run in headless mode.
  • Open a new page from this browser.  
  • From this page launch the URL. After that, you can run the tests or assertions.

3.Connecting Playwright Project with Vansah

You have several choices. The recommended choice is to use our available Binding.

Vansah Currently has the following bindings. More Bindings are being implemented.

Alternatively you can write your own procedure to connect Playwright to Vansah using the recommended Rest API Language.

Java Binding:

If you are using Java, download the API binder project from GitHub using the following URL. More information

For Java Usage Examples: Get started

C# Binding:

If you are using C#, download the API binder project from GitHub using the following URL. More information

For C# Usage Examples: Get started

Related Articles