Skip to content

Commit 04dedad

Browse files
Sharmavishalshrm539
authored andcommitted
Added script to install Playwright browsers automatically
1 parent 14a48b9 commit 04dedad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"test-report": "playwright show-report tests/playwright-report",
4545
"test-jest": "jest --watchAll",
4646
"test-jest-coverage": "jest --watchAll --coverage",
47+
"postinstall": "npx playwright install --with-deps",
4748
"_comment_internal_SDK_scripts": "The following commands are for internal use and are intended to be called only from public scripts above",
4849
"_internal-copy-index": "shx cp dist/index.html dist/simpleportal.html && shx cp dist/index.html dist/portal.html && shx cp dist/index.html dist/fullportal.html && shx cp dist/index.html dist/embedded.html"
4950
},

0 commit comments

Comments
 (0)