We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
routeFromHAR
1.45.0-next
There is a number on the webpage in electron window, and the number is get from the api /adx/v1/demo/account/info
/adx/v1/demo/account/info
in the example2.har, the value of the number from api response /adx/v1/demo/account/info is 24000
code
test('test', async ({ page }) => { const electronApp = await electron.launch({ executablePath, }); const window = await electronApp.firstWindow(); await window.routeFromHAR("./example2.har", { notFound: "fallback", url: /.*\/adx\/v1\/demo\/account\/info\?.*/i, update: false, }); await window.goto('https://xxxxx') });
the number on the webpage in electron window should be the same as the api response /adx/v1/demo/account/info in example2.har
Although in the network tab , the number returned from api is same as the api response /adx/v1/demo/account/info in example2.har.
But the number on the webpage in electron window is actually different from the api response /adx/v1/demo/account/info in example2.har.
No response
System: OS: macOS 14.5 CPU: (12) arm64 Apple M2 Pro Memory: 74.38 MB / 16.00 GB Binaries: Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm IDEs: VSCode: 1.95.1 - /usr/local/bin/code Languages: Bash: 3.2.57 - /bin/bash
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.45.0-next
Steps to reproduce
There is a number on the webpage in electron window, and the number is get from the api
/adx/v1/demo/account/info
in the example2.har, the value of the number from api response
/adx/v1/demo/account/info
is 24000code
Expected behavior
the number on the webpage in electron window should be the same as the api response
/adx/v1/demo/account/info
in example2.harActual behavior
Although in the network tab , the number returned from api is same as the api response
/adx/v1/demo/account/info
in example2.har.But the number on the webpage in electron window is actually different from the api response
/adx/v1/demo/account/info
in example2.har.Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: