POM passing Driver and making Extent Report Static | Selenium Forum
Roshan Karkera Posted on 14/10/2020

Hello Sir,


As you mentioned in POM Design second part video, that if we pass driver to each page then we need to pass Extent Report as well if we follow that approach.

However recently I came through a Framework for POM design where they made Extent Report as Static and they are passing driver for each page. 

My Question is, making Extent Report as Static, will this work with GRID or will cause Issue?


Thanks again sir for your great support.


Ashish Replied on 16/10/2020

Extent report object which is in Extent Manager class is static

Its static because 1 report has to be made for 1 project

We always make it static. In our framework as well, I have made it static

Related Posts