Reputation: 1006
I am using the extent report in my selenium project ,i want to remove the version showing in the right corner of the report.
Upvotes: 0
Views: 1806
Reputation: 45
Alternate solution:
You will find something like this in extent-config.xml
<scripts>
<![CDATA[
$(document).ready(function() {
});
]]>
</scripts>
Simply make this change:
<scripts>
<![CDATA[
$(document).ready(function() {
document.getElementsByClassName("class name")[1].remove()
});
]]>
</scripts>
Upvotes: 0
Reputation: 2199
Do you have a extent-config.xml
file?
Find in there something that looks like this:
<styles>
<![CDATA[
]]>
</styles>
And add your custom css. You'll have to inspect the element you want to hide, to find a selector for it. And then you can add css, something like this:
<styles>
<![CDATA[
#id-of-the-element{display:none};
]]>
</styles>
Upvotes: 5