Dmitry Gozman

Results 318 comments of Dmitry Gozman

@kLjubomir I agree this is most likely page-specific. > is it possible for me to locally overwrite playwrights inputValue function That's not possible. I'd recommend creating a helper function that...

@painttw07 Your test times out with 30 seconds. There are two possibilities: - Your test timeout is too small. Look at [this timeouts guide](https://playwright.dev/docs/test-timeouts) for help. - There is a...

Closing because we lack the information to act on this issue. If you can provide a full repro, please file a new issue by filling the "Bug Report" template, and...

@quldude There is no special API for this, but you can always import your config and read values from it. Let me know if that helps. ```ts const value =...

> do you know if I use the environment variable PLAYWRIGHT_HTML_REPORT, will that override the folder mentioned in config file? `PLAYWRIGHT_HTML_REPORT` will be used instead of the config, but value...

@luqy In your custom reporter, call [`suite.project()`](https://playwright.dev/docs/api/class-suite#suite-project). Inside a test, use [`test.info().project`](https://playwright.dev/docs/api/class-testinfo#test-info-project).

@gsimone Playwright does not have any facility to reference javascript objects in the page except for `JSHandle`. You can use handles with `page.evaluate()` or `handle.evaluate()` calls to get any JS...

The snippet above assigns a variable from the outer scope inside `page.evaluate()`, which is impossible. I'd recommend something like this: ```ts // helper function async function getMeshColor(meshId) { return page.evaluate(()...

It seems like the issue has been resolved. If you still encounter problems, please file a new issue with a repro and link to this one.

@aoj2 Since you are reusing the page between tests, any test fixture won't be able to access it. Note that reusing page between tests is a discouraged practice. You can...