How to discover electrical wires?
Basically there are three methods

you either detect the (50/60Hz) field around the wire

you use a form of metal detector  

you 'inject' a high frequency signal into the wiring and detect its 'radio' signal using a cheap AM receiver (a ferrite rod will give good direction/localisation of signal)