playwright: [BUG]
When I build my project and run, Playwright throws error.
I went to playwright.cmd and removed third line “if not. Defined” and after that it starts working. Why so?
Context:
- Playwright Version: [what Playwright version do you use?]
- Operating System: [e.g. Windows, Linux or Mac]
- Node.js version: [e.g. 12.22, 14.6]
- Browser: [e.g. All, Chromium, Firefox, WebKit]
- Extra: [any specific details about your environment]
Code Snippet
Help us help you! Put down a short code snippet that illustrates your bug and that we can run and debug locally. For example:
const {chromium, webkit, firefox} = require('playwright');
(async () => {
const browser = await chromium.launch();
const context = await browser.newContext();
const page = await context.newPage();
// Please include a snippet of HTML that shows an example of the content
// you are testing.
await page.setContent(`
<div>
…
</div>
`);
// Alternatively, if you are testing a public application, include the URL:
// await page.goto('https://example.com/')
await page.locator(…);
})();
Describe the bug
Add any other details about the problem here.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 25 (10 by maintainers)
I just realized I send you the wrong batch file, sorry my bad, so try the following please:
(For .NET we have a special one)
no, i didn’t move any folder structure. Its coming after build from nuget package.