GithubHelp home page GithubHelp logo

Comments (4)

arjunattam avatar arjunattam commented on May 18, 2024 1

Thanks for reaching out @eh-dub! We follow a monthly release cadence for the playwright and playwright-cli projects (with a new release around 6th of every month). While we support using tip-of-tree playwright with the @next tag, we don't have a similar setup configured for playwright-cli. I'll repurpose this as a feature request to add support for the next tag, so you can use tip-of-tree playwright-cli.

from playwright-cli.

mxschmitt avatar mxschmitt commented on May 18, 2024

Which OS are you using? If you are using e.g. Visual Studio Code terminal or a modern terminal it should print it correctly.

from playwright-cli.

eh-dub avatar eh-dub commented on May 18, 2024

Copy pasting from the terminal is a lossy operation.

I work with a website that has long URL slugs. These slugs cause the outputted code to wrap in the terminal. Copy pasting the terminal formatted code yields a broken script.

The -o flag circumvents this issue.

edit: FWIW, I'm using the Hyper terminal. I'll try a different terminal and provide an update.

edit2: Tried it in VS Code terminal to the same effect. A concrete example is the outputted comments about "Go to URL".
A single-line comment // is used, but because of the line wrapping in the terminal, this comment is broken across several lines when pasting.
// Go to http://localhost:8000/admittedly/ridiculously/long/urlslug?withTonsOfOtherStuff.....

from playwright-cli.

mxschmitt avatar mxschmitt commented on May 18, 2024

We have now builds available for the latest tip-of-tree features which are usable by: npm install plawright-cli@next

from playwright-cli.

Related Issues (20)

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.