Selenium recognizes and manipulates video video
Selenium recognizes and manipulates video video
Scene:
Open the URL to play and stop the video
Train of thought:
Open the URL, locate the video with tagname, assign a value to vp, call js, (JavascriptExecutor) driver, assign a value to je, and call the executescript () method to play and stop the vp.
The code reference is as follows: