当前位置:网站首页>Chrome realizes automated testing: recording and playback web page actions
Chrome realizes automated testing: recording and playback web page actions
2022-07-24 20:24:00 【Zeze said test】
Chrome Browsers are really scary , It will roll up the relevant gadgets . Since its birth , Created one legend after another , Now you can see the operating system based on it chrome os , You can also buy a laptop that uses it as a system .
lately , The new version supports recording and playback . With this function , You can record all the operations in the browser , Save to local , Then run repeatedly through playback .
This is really the gospel of lazy cancer patients , Say goodbye to repetitive work easily . Whether it is automated office 、 automated testing 、 Reptiles , Both can be used. .
Now let's see how to use it . First , Upgrade your browser to the latest version , My current browser version 98, Then we open the recording function in the developer tool .

After the recording function is turned on , You can find it in the developer tools Recorder label , Click on + Number or new record Button to start a new recording operation .

This is the video of the official website , You can see :
https://player.bilibili.com/player.html?bvid=BV11L4y1v76C
When using the recording function , First click Start Record Button to start recording , Then all operations in the browser will be recorded , After recording , Click to end . stay Recorder All recorded scripts will be displayed under the label , Click on Replay You can replay the previous operation , This process is automatic , No need for manual participation .
There are two main application scenarios in the testing process :
1、 When conducting exploratory testing , You can quickly record your own test operations , It is convenient to add use cases later .
2、 Turn the manual test steps into automatic test code . Currently, direct export is supported puppeter Script , If not used puppeter, You can write your own code to convert tools into other tools .
Deal with some repetitive and messy daily work , Poke a surplus , For example, fishing and watching the news in my spare time . Visit each news website and record a script , Run this directly every time you need it recording . This is a video of fishing :https://player.bilibili.com/player.html?bvid=BV1aR4y157ie
边栏推荐
- Choose the appropriate container runtime for kubernetes
- A circle is displayed and can be moved
- Each blogger needs to ask himself seven basic questions
- Hide the middle digit of ID number
- Introduction to fastdfs high availability
- 微服务架构 | 服务监控与隔离 - [Sentinel] TBC...
- Redis common configuration description
- [training Day8] series [matrix multiplication]
- Software testing interview tips | if you don't receive the offer, I'll wash my hair upside down
- What should Ali pay attention to during the interview? Personal account of Alibaba interns who passed five rounds of interviews
猜你喜欢

Alibaba Sentinel 基操
![[training Day9] maze [line segment tree]](/img/56/e8458245fe564821740ab94ece37a4.png)
[training Day9] maze [line segment tree]

Substr and substring function usage in SQL

Leetcode 560 and the subarray of K (with negative numbers, one-time traversal prefix and), leetcode 438 find all alphabetic ectopic words in the string (optimized sliding window), leetcode 141 circula
![[Extension Program - cat scratch 1.0.15 _ online video and audio acquisition artifact _ installation tutorial plus acquisition]](/img/75/5eca7f63758802ecf86a90a1bbdeaf.png)
[Extension Program - cat scratch 1.0.15 _ online video and audio acquisition artifact _ installation tutorial plus acquisition]

Synthesis of peptide nucleic acid PNA labeled with heptachydrin dye cy7 cy7-pna

Working principle of envy of istio I
![[training Day6] dream [priority queue] [greed]](/img/1b/309b53618b8a116862971799ce4e78.jpg)
[training Day6] dream [priority queue] [greed]

Methods of using tyrosine modified peptide nucleic acid PNA | Tyr PNA | BZ Tyr PNA | 99Tcm survivinmrna antisense peptide nucleic acid

Istio一之Envoy工作原理
随机推荐
Sql164 next day retention rate of new users per day in November 2021
ATL container - catlmap, crbmap
[training Day9] light tank [dynamic planning]
147 set whether to cache by using the routing meta information - use of include and exclude - use of activated and deactivated
Do you want to enroll in a training class or study by yourself?
Bypass using the upper limit of the maximum number of regular backtracking
OpenGL (1) vertex buffer
Excuse me: is Flink 1.14.5 compatible with MySQL CDC 2.1.0
Appium element positioning - App automated testing
Wechat applet -that.setdata ({}) set complex field data
[JVM] selection of garbage collector
Thinking of @requestbody caused by hi and hello requests
How to view the execution plan of a stored procedure in Youxuan database
How does starknet change the L2 landscape?
vlan技术
Functional test of redisgraph multi active design scheme
Leetcode 48 rotating image (horizontal + main diagonal), leetcode 221 maximum square (dynamic programming DP indicates the answer value with ij as the lower right corner), leetcode 240 searching two-d
Azide labeled PNA peptide nucleic acid | methylene blue labeled PNA peptide nucleic acid | tyrosine modified PNA | Tyr PNA Qiyue Bio
[shader realizes the flicker effect of three primary colors of television signal _shader effect Chapter 5]
Valdo2021 - vascular space segmentation in vascular disease detection challenge (2)