KID-joker
Repos
15
Followers
6
Following
54

Keep the type of storage value unchanged and change array and object directly. Supports listening to the changes and setting expires.

229
11

Events

Created at 10 minutes ago
Created at 11 minutes ago
Created at 12 minutes ago
Created at 28 minutes ago

Initial commit

Created at 12 hours ago
started
Created at 23 hours ago
started
Created at 23 hours ago
Created at 1 day ago
started
Created at 1 day ago
create branch
KID-joker create branch main
Created at 2 days ago
create repository
KID-joker create repository
Created at 2 days ago
Created at 2 days ago
issue comment
There is no any filter in the video section

Can you show me the screenshot?

Created at 3 days ago
Created at 4 days ago
Created at 4 days ago
Created at 4 days ago
Created at 4 days ago
closed issue
[Question] How to test the StorageEvent of localStorage?

I created a repository about web storage, which involves the StorageEvent of localStorage. I want to do e2e testing on it, but I don't know how to handle the StorageEvent. Can you give me some suggestions?

Created at 4 days ago
issue comment
[Question] How to test the StorageEvent of localStorage?

Yes, it works. Thanks for your answer.

Created at 4 days ago
Created at 5 days ago
Created at 6 days ago
started
Created at 6 days ago
started
Created at 6 days ago
Created at 6 days ago
Created at 1 week ago
issue comment
[Question] How to test the StorageEvent of localStorage?

@dgozman Yes, I tried it with the code below.

const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch();

  const page1 = await browser.newPage();
  await page1.goto('https://playwright.dev/');

  const page2 = await browser.newPage();
  await page2.goto('https://playwright.dev/');

  page2.on('console', msg => console.log('console ==> ', msg.text()));
  await page2.evaluate(() => {
    window.addEventListener('storage', (ev) => {
      console.log(ev);
    })
  });

  const localStorage = await page1.evaluate(() => {
    window.localStorage.setItem('test', 'hello world!');
    return JSON.stringify(window.localStorage);
  });
  console.log('localStorage ==> ', localStorage);

  await browser.close();
})();

But it didn't work.

Created at 1 week ago
opened issue
[feature] 支持请求replay

chrome DevTools 支持请求重发,方便后端再次调试请求。 1675081464(1) 如果觉得这个功能可以增加,我可以提交pr。

Created at 1 week ago