Logo
Explore Help
Register Sign In
yujunjun/playwright
1
0
Fork 0
You've already forked playwright
mirror of https://github.com/microsoft/playwright.git synced 2025-06-26 21:40:17 +00:00
Code Issues Packages Projects Releases Wiki Activity
playwright/utils/build/run-driver-win.cmd

4 lines
157 B
Batchfile
Raw Normal View History

fix(driver): with CWD which contained spaces (#17579) Fixes https://github.com/microsoft/playwright-python/issues/1561 Fixes https://github.com/microsoft/playwright-python/issues/1565
2022-09-26 19:19:04 +02:00
@echo off
setlocal
fix: expect unquoted npde.exe path (#21307) * It is more common to set env variable value without quotes on Windows (see the bug) * Use defined to check for string presence, it will work nicely with strings that contain whitespaces https://github.com/microsoft/playwright-java/issues/1213
2023-03-01 09:16:23 -08:00
if not defined PLAYWRIGHT_NODEJS_PATH set PLAYWRIGHT_NODEJS_PATH=%~dp0node.exe
"%PLAYWRIGHT_NODEJS_PATH%" "%~dp0package\lib\cli\cli.js" %*
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1329ms Template: 45ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API