The route to chaos of domain wall in thin magnetic film, which is described by Słonczewski's equations of motion, is analyzed numerically. Hagedorn's model of surface stray field is applied. Ranges of periodic and chaotic wall motion as a function of constant in time, drive field are found. Comparison of results with those obtained for Hubert's model of the stray field is made.