NXP-12742: adapt test of webdriver test
NXP-12742: take screenshot before any junit after annotated method