Dmitry Gozman
Dmitry Gozman
@geenalux I don't think it's possible to trigger local shortcuts.
@naknode Most likely your page is at some restricted origin, e.g. `about:blank`. Try logging `page.url()` or `page.evaluate(() => window.location.href)` and see what it says. We can look into this in...
> Modifying it now is another matter. Doing `window.localStorage.setItem()` doesn't seem to work. I am not sure I can help with this, web apis are up to the browser. I'd...
@naknode It seems like you want to modify `localStorage` from your script. Could you please elaborate on the usecase? Meanwhile, using `evaluate` is what I would do, unless we introduce...
@dcerniglia Look into [`page.addInitScript()`](https://playwright.dev/docs/api/class-page#page-add-init-script): ```js beforeEach(async ({ page }) => { // ... await page.addInitScript(value => { window.localStorage.setItem('debug', value); }, testConfigJson); }); ```
> do you have other topics/changes in mind? This looks like a good starting point. If anything, some of these topics might be relevant in [e2e best practices](https://playwright.dev/docs/best-practices) as well.
@fabianboth It is expected that Playwright does not click on a 0x0 element. You should point to a different non-zero-sized element visible on the screen. However, codegen recommends this exact...
We have discussed this feature request with a team. It looks like an option to run retries one by one at the end, without any parallelism, might be beneficial to...
@marcusNumminen If you would like the feature to run retries in the end, but in parallel, please explain your usecase in details. We'd like to understand the problem before shipping...
> [@dgozman](https://github.com/dgozman) I assume your proposed solution involves tearing down the threads at the end and creating a new pristine single thread to run the tests one by one? Yes,...