extentreports-java
extentreports-java copied to clipboard
Report not defaulting to dashboard view on open
Summary
I have the below code in extent-config.xml file:
<scripts>
<![CDATA[ $(document).ready(function() {$('.dashboard-view).click();});]]>
</scripts>
However, the report is not defaulting to the dashboard view on opening. What am I doing wrong?
Environment Details
- Extent report Version used: 3.0.7
- Operating System and version: Windows 10
- JDK Version: 1.8
Could anyone please help me out on this?
Try this, the styles have changed in 3.1.0:
$('.waves-effect:nth-child(3) a:nth-child(1) i:nth-child(1)').click();