Selenium-Python-Example
Selenium-Python-Example copied to clipboard
Pytest Parallel Exectuion
Pytest Xdist Parallel Support Although this framework is perfectly organized and developed but somehow using this boilerplate parallel execution should be integrated
Issue With Pytest xdist in selenium grid i was executing the parallel execution in selenium grid but facing somehow sometime this issue might be due to use of pytest-teststart method which is in conftest.py
INTERNALERROR> def worker_internal_error(self, node, formatted_error):
INTERNALERROR> """
INTERNALERROR> pytest_internalerror() was called on the worker.
INTERNALERROR>
INTERNALERROR> pytest_internalerror() arguments are an excinfo and an excrepr, which can't
INTERNALERROR> be serialized, so we go with a poor man's solution of raising an exception
INTERNALERROR> here ourselves using the formatted message.
INTERNALERROR> """
INTERNALERROR> self._active_nodes.remove(node)
INTERNALERROR> try:
INTERNALERROR> > assert False, formatted_error
INTERNALERROR> E AssertionError: Traceback (most recent call last):
INTERNALERROR> E File "/Users/ronaldo/openC/ui-testspom/Tests_Bamboo_v2/venvS2/lib/python3.12/site-```
@nirtal85