I found that xvfb was running in different run block from pytest.
run
So running xvfb in same run block with pytest is the solution.
Thank you all..!