06 - Selenium 4.0.0 - Chrome Dev Tools - Example to Capture Performance Metrics of website

preview_player
Показать описание
This is one of the new features of selenium 4.0.0 release, that is the ability to access the browser's dev tools and its relevant items. Currently this feature is available only with the Chrome Browser, as selenium is still working with other browser vendors to this bidirectional protocol and APIs enabled.

In this video, I have explained you the code as how to access your web application's performance metrics, this helps us to analyze if the application's performance on a certain page is as expected or not, and enables to increase the horizon of testing other aspects of the website as well.

Once this feature is added to access the browser dev tools, the possibilities are now multiplied and we need to explore more and more..

Happy Learning! Improve your Test Automation knowledge with Java + Selenium

-----------------------------------------------------------------------------------------------------------------------------
Learn Complete Basics of Java -

Learn Intermediate Level Concepts of Java -

Learn Complete Test Automation with Java + Selenium -

Learn Java through Interview Questions -

Learn Java Programming through Interview Questions Speed Code -

Do's and Dont's in Interviews

Learn Test Automation tool Oracle Applications Testing Tool ( OATS - Functional Test Automation)-
Рекомендации по теме
Комментарии
Автор

DevTools class work with RemoteWebDriver?

ramanareddyjakkireddy
Автор

Hello ) How to calculate CPU usage (in%) like we have in performance monitor ?

Anton-ezpl
Автор

Can we use this metrics for each page navigation ?? and also for the e2e script??

EBRDDiwali
Автор

i'm currently using selenium 4 version however they are a lot of option that wont work for me my Chromedriver version is the correct one, can you please share the dependencies you are using for this video ??

jossuerguillen
Автор

can we use lighthouse with this? as it is also a dev tool?

MrMohit
Автор

I want to access Network tab and capture payload form a specific ajax call. Can you explain how can we do that

prathameshmore
Автор

Thanks sir. Please let me know which software you have used to record this video, and is it free? Thanks much.

sonalmittal
Автор

Hi bro, thanks for this video.
can I do the same in python?
Actually, I only want to fetch page response as html or string.

I found this method in documentation
(Network.getResponseBody but I don't know what to put in requestId)

vikraal
Автор

Hi, I used the same code and got Exception - 'Exception in thread "main" Unable to create DevTools connection'. What could be the cause?

paurnimasankar