← All articles
Proctoring explained 6 min read

Does HackerRank Detect Tab Switching? What It Actually Logs

Short answer: yes. HackerRank logs every time you switch tabs or your test window loses focus, and that log is shown to the employer or instructor reviewing your assessment. But there's a lot of nuance in what it actually captures — and what it doesn't.

What HackerRank actually detects

HackerRank's proctoring (especially on HackerRank for Work employer assessments) tracks several signals during a test:

What the tab-switch counter looks like to an employer

On the results report, the recruiter sees a line such as “Tab switches: 7” along with timestamps. One or two switches are usually ignored — people accidentally click away. But a pattern of switching right before answering each question is a strong cheating signal, and many employers auto-reject candidates above a threshold.

The important detail: HackerRank does not see what is in the other tab. It only knows the test window lost focus. It cannot read your other applications or tell whether you opened ChatGPT, checked Slack, or your screen saver kicked in — it only logs that focus left.

What HackerRank cannot detect

HackerRank runs inside your browser. That boundary defines its blind spots:

This is why simply alt-tabbing to another window is the worst approach: it triggers the one signal HackerRank is best at catching. Anything that avoids taking focus from the test tab avoids that entire category of detection.

Take AI help without triggering the tab-switch log

UFOlee runs as a native overlay on top of HackerRank — it never removes focus from the test tab, so no tab-switch or focus-loss event is recorded, and it auto-types answers with hardware keystrokes instead of pasting.

See how UFOlee works with HackerRank

FAQ

Does HackerRank know which website I switched to?

No. HackerRank only logs that the test tab lost focus. It cannot see the contents of other tabs or applications — it doesn't know whether you opened ChatGPT, email, or nothing at all.

How many tab switches is too many on HackerRank?

There's no fixed number, but a pattern of switches timed around each answer is the real red flag. Many employers reject candidates with repeated, suspiciously-timed focus losses.

Can HackerRank detect a second monitor?

Browser-based HackerRank tests generally can't detect a second physical monitor unless webcam proctoring with a room scan is enabled by the employer.