mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(CLI): let other langs specify exec name (#6719)
This commit is contained in:
parent
39a8abd9ab
commit
01d8f87923
@ -38,7 +38,7 @@ import { allBrowserNames } from '../utils/registry';
|
|||||||
|
|
||||||
program
|
program
|
||||||
.version('Version ' + require('../../package.json').version)
|
.version('Version ' + require('../../package.json').version)
|
||||||
.name('npx playwright');
|
.name(process.env.PW_CLI_NAME || 'npx playwright');
|
||||||
|
|
||||||
commandWithOpenOptions('open [url]', 'open page in browser specified via -b, --browser', [])
|
commandWithOpenOptions('open [url]', 'open page in browser specified via -b, --browser', [])
|
||||||
.action(function(url, command) {
|
.action(function(url, command) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user