GithubHelp home page GithubHelp logo

test-mass-forker-org-1 / playwright-vscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/playwright-vscode

0.0 0.0 0.0 1.2 MB

Playwright Test Visual Studio Code integration

Home Page: https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright

License: Apache License 2.0

JavaScript 2.19% TypeScript 97.81%

playwright-vscode's Introduction

Playwright Test for VS Code

This extension integrates Playwright Test into your VSCode workflow. Here is what it can do:



example_test_2



Requirements

This extension works with Playwright Test version v1.19+ or newer.

If you are looking for the old extension that supported Playwright v1.14+, switch to v0.0.9 of this extension manually. Having said that, we highly recommend using the latest version of Playwright Test!



Install Playwright Test

If you don't have the Playwright Test NPM package installed in your project, or if you are starting with a new testing project, "Install Playwright" action will help you get started.

Install Playwright

Pick the browsers you'd like to use by default, don't worry, you'll be able to change them later to add or configure the browsers used.

Choose browsers

The extension automatically detects if you have Playwright Test installed and loads the Playwright Test projects into Visual Studio Code. By default it will select the first project as a run profile and inside the test explorer you can change this behavior to run a single test in multiple or different browsers.



Run tests with a single click

You can use Tests sidebar to run a test or a group of tests with a single click.

run_tests



Follow the execution line

While tests are running, execution line is highlighted, once the line has completed, step time is rendered as an editor decoration.

execution_line



Debug step-by-step, explore selectors

Right click and start breakpoint debugging. Set a breakpoint, hover over a value. When your cursor is on some Playwright action or a locator, corresponding element (or elements) are highlighted in the browser.

step_explore



Record new tests

Record new tests via performing the test actions in the browser.

recording



Tune selectors

You can edit test source code to fine-tune selectors while on a breakpoint. A selector playground on every line of your test script!

tune_selectors

playwright-vscode's People

Contributors

pavelfeldman avatar mxschmitt avatar microsoftopensource avatar tyriar avatar marcusfelling avatar dependabot[bot] avatar f3n67u avatar kumaraditya303 avatar mskelton avatar erwin-faceit avatar microsoft-github-operations[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.