Browse Source

Update 'README.md'

天问 1 year ago
parent
commit
a8909e7add
1 changed files with 26 additions and 1 deletions
  1. 26 1
      README.md

+ 26 - 1
README.md

@@ -1,3 +1,28 @@
 # playwright
 # playwright
 
 
-微软对标 selenium 浏览器自动化工具
+微软对标 selenium 浏览器自动化测试工具,支持nodejs,python等多语言sdk
+
+## Usage
+
+使用超级简单,代码运行后会自动下载最新版chrome,edge,firefox,ffmpeg ,以及driver,600MB,首次运行需要下载环境。
+```
+
+```
+
+windows保存到 :
+
+C:\Users\xx\AppData\Local\ms-playwright 
+
+
+初始化一个项目:
+```
+npm init playwright@latest new-project
+```
+
+python:
+```
+from playwright.sync_api import sync_playwright
+
+```
+
+需要更多自定义,采用 selenium