The problem of wave scattering by a plane crack is solved, either in the case of acoustic waves or in the case of elastic waves incidence using the boundary integral equation method. A collocation method is often used to solve that equation, but here we will use a variational method, first writing the problem of Fourier variables, and then writing the associated integrals in the sesquilinear form with weak singularity kernels. This representation is used in the numerical approach, made with a finite element method in the surface of the crack. Numerical tests were made with circular and elliptical cracks, but this method can be extended to other shapes, with the same convergence profiles. Extensive results are given concerning the crack opening displacement, the scattering cross-section, the back-scattered amplitude and far-field patterns.