scanner mock for browser