Is force of friction independent of path?

No, the frictional force is a non-conservative force, i.e., the work done by it depends upon the actual path followed by a body.