Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Run beforeEach/beforeAll before starting Recorder #34533

Open
Kendru98 opened this issue Jan 29, 2025 · 1 comment
Open

[Feature]: Run beforeEach/beforeAll before starting Recorder #34533

Kendru98 opened this issue Jan 29, 2025 · 1 comment

Comments

@Kendru98
Copy link

🚀 Feature Request

Vs code extension that allows to pick locators on cursor and record scenario is so nice, but it will be nice to have a possibility to specify url there, or take url from playwrightConfig.

Example

Extension setting that will fetch playwrightConfig. Or option to directly set url.

Motivation

I need always to type URL, when want to use extension. And also cookies are fresh, so I need to log in to site each time opening recorder/picker

@agg23
Copy link
Contributor

agg23 commented Jan 29, 2025

Adopting this issue to consider running beforeEach/beforeAll before starting the recorder. Under this scenario, you could put a page.goto(rootURL); in your beforeAll and the recorder will start at that location.

@agg23 agg23 changed the title [Feature -pw-vscode-extension]: Have possibility to set Url for test recorder / locators picker [Feature]: Run beforeEach/beforeAll before starting Recorder Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants