Skip to content

A sample app that uses Selenium and Edge Driver to call CDP directly and get the number of detached elements in a webpage.

Notifications You must be signed in to change notification settings

joselea/cdp-detached-elements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detached Elements via CDP

This sample app uses Selenium and Edge Driver to call CDP directly and get the number of detached elements in a webpage.

Pre-requisites

Have Edge Driver available in PATH. Or you can download the Canary version from the official site, extract the contents and copy the executable to the root of this folder. https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

How to install and use

npm install

npm start

gif of sample app


More documentation:

https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=javascript

https://www.npmjs.com/package/selenium-webdriver

About

A sample app that uses Selenium and Edge Driver to call CDP directly and get the number of detached elements in a webpage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published