Added getElementAttribute method, fixed screenshot path, changed drag and drop method, set default length on pause method