//Check which state of page is displayed - A or B ?
//Use the the stepname accordingly
//During first run of the each state a baseline will be created and later it will be compared against baseline
if(element != null)
postRequest("Step 1" + "Form A", uid, scrBase64);
postRequest("Step 1" + "Form B", uid, scrBase64);