[HN Gopher] Show HN: Chrome Dev Tools Element Selector for Playw...
       ___________________________________________________________________
        
       Show HN: Chrome Dev Tools Element Selector for Playwright and
       Scraping
        
       Author : lucgagan
       Score  : 11 points
       Date   : 2023-07-03 19:31 UTC (3 hours ago)
        
 (HTM) web link (ray.run)
 (TXT) w3m dump (ray.run)
        
       | lucgagan wrote:
       | Hello, fellow hackers!
       | 
       | 3rd attempt to posting something to ShowHN. Learning from my
       | mistakes (and hopefully not making new ones).
       | 
       | I'm excited to introduce you to Rayrun extension - a Google
       | Chrome extension that makes the task of developing tests and
       | scraping scripts more efficient.
       | 
       | As a web developer, I often myself trying to figure out what is
       | the best CSS selector for a given element. I've tried many tools,
       | but none of them were good enough. So I decided to create my own.
       | 
       | Rayrun is a Google Chrome extension that helps you to generate
       | CSS selectors for web elements. It is compatible with popular
       | testing tools like Puppeteer, Playwright, Cypress, and Selenium.
       | With Rayrun, you can effortlessly select web elements, regardless
       | of how nested or complex they may be, and swiftly generate
       | precise selectors.
       | 
       | If you are using @playwright/test, Rayrun can also generate
       | Locators (https://playwright.dev/docs/api/class-locator) for you
       | (e.g. `getByLabel('Password')`). You may also use Rayrun to
       | generate XPath selectors (e.g. `//input[@type="submit"]`).
       | 
       | For those familiar with the Playwright
       | [codegen](https://playwright.dev/docs/codegen), the Locator
       | output is similar. The main difference is that Rayrun is a Chrome
       | extension, so you can use it from your browser, which is closer
       | to how I work.
       | 
       | I believe that Rayrun will be a valuable addition to your web
       | development and testing toolkit.
       | 
       | It is my first Chrome Extension so I appologize if you find any
       | glaring mistakes, but please give it a try, share feedback, and I
       | will do my best to address any concerns. I'm here to answer any
       | questions you may have.
       | 
       | Quick note regarding privacy: Rayrun does not collect _any_ data,
       | and it has passed an extended audit by Google Chrome Store team.
       | 
       | Thank you for your time and happy coding!
        
       ___________________________________________________________________
       (page generated 2023-07-03 23:01 UTC)