installed xvfbwrapper python module.provided display start in selenium python test in MAC
from xvfbwrapper import Xvfb class San(unittest.TestCase): def setUp(self):
Error starting test case
Traceback (most recent call last): File "san98.py", line 34, in setUp self.vdisplay.start() File "/Library/Python/2.7/site-packages/xvfbwrapper.py", line 53, in start stderr=open(os.devnull), File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
How to fix this problem
source share