Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Selenium recognizes and manipulates video video

Shulou Source: shulou.com Published: 2022-06-03 05:24:23 11月24日 Update

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:

Tags: Video URL code scene idea method reference location Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL vpn Linux Redmi Shulou Tech Info