Back to blog
Interview Prep

Can You Google During Codility Test? Tab & Focus Tracking

Does Codility track tab switching or window focus? Learn how Codility monitors candidate behavior and how to take your test without triggering alerts.

CloakAI Editorial Team
September 19, 2026

Yes, Codility actively tracks tab switching, window minimization, and loss of browser focus through standard client-side APIs. While isolated window departures rarely result in automatic disqualification, repeated or prolonged focus loss will flag your assessment for manual recruiter review. Candidates wondering can you google during codility test should know that doing so on the same machine directly triggers these proctoring alerts.

TL;DR: Key Takeaways

  • Focus Tracking is Active: Codility automatically logs every time the test window loses focus, recording the exact timestamp and duration of the absence.
  • No Content Monitoring: The platform cannot see what other tabs or applications you are looking at; it only knows that you left the test interface.
  • Single Offenses are Excused: Accidental tab switches (e.g., system notifications, email popups) are common, and recruiters generally ignore isolated occurrences.
  • Patterns Trigger Flags: Repeated departures, combined with rapid copy-pasting or sudden spikes in typing speed, will trigger a high-risk flag on your report.
  • Stealth Assistance Works: Solutions like CloakAI operate entirely outside the browser's view, allowing you to get real-time coding help without generating focus alerts.

Does Codility Track Tab Switching or Window Focus?

In modern technical hiring, online assessments (OAs) serve as the primary filter for software engineering roles. Codility, one of the oldest and most widely used platforms, monitors browser activity to maintain the integrity of its testing environment.

To achieve this, the platform utilizes basic web standard APIs that are built into every modern web browser (such as Chrome, Firefox, Safari, and Edge). Specifically, Codility implements the HTML5 Page Visibility API and browser window focus listeners.

  • The Page Visibility API (document.visibilityState): This API is designed to tell a website if its page is being viewed or is hidden. Whenever you switch tabs or minimize the browser, the visibility state changes to hidden. Codility listens to the visibilitychange event and immediately logs when the change occurs.
  • Window Focus Listeners (window.onblur and window.onfocus): These events detect when the active browser window loses user focus. This occurs if you click onto a different monitor, open a separate application (like a text editor or a terminal), open browser developer tools (F12), or click on a desktop notification popup.

The HTML5 Page Visibility API allows platforms like Codility to detect within milliseconds when a candidate switches tabs, minimizes their browser, or opens a separate window. This tracking runs silently in the background, logging every departure from the test window and transmitting a comprehensive timeline to the hiring manager upon test completion.


Can You Google During Codility Test Without Getting Caught?

For many candidates, the temptation to quickly search for syntax, library documentation, or algorithmic inspiration is high. However, the reality of modern proctoring makes standard search habits incredibly risky.

Many candidates searching for can you google during codility test are unaware that even a secondary monitor on the same operating system will trigger a "window focus lost" alert when clicked.

If you attempt to Google on the same machine where you are taking the exam, the proctoring software logs the exact second you left and the exact second you returned. While recruiters do not receive a screenshot of your Google search, they see a timeline indicating that you were absent from the environment.

According to standard proctoring workflows, a single focus loss under 3 seconds is typically categorized as a system anomaly or accidental notification click and is usually ignored by automated scoring algorithms. The problem occurs when your departure timeline is cross-referenced with your coding activity. If you are away from the tab for 90 seconds, and immediately write 40 lines of error-free, complex code within 10 seconds of returning, it is obvious that you copied or memorized a solution from another source.


How Codility Detects Unfair Advantages in Your Assessment

Rather than relying on a single metric, Codility evaluates a candidate's session holistically. The platform creates a behavioral profile using multiple telemetry signals to identify anomalies.

Action Is It Tracked? Risk Level Details / Explanations
Switching Tabs Yes High Logs exact timestamps and duration of inactivity.
Minimizing Window Yes High Triggers visibility and blur events instantly.
Clicking Second Monitor Yes High Active window loses focus, registering a blur event.
System Notifications Yes Low Temporary blur event; ignored if very brief.
Using External Screen No None Screen state on non-connected devices is untrackable.
Using CloakAI Overlay No None Runs independently without interacting with browser APIs.

Beyond the focus events in the table above, Codility tracks the following key data points:

1. Keystroke Dynamics and Typing Velocity

Codility records every single character input in its embedded code editor. This includes deletions, modifications, and the speed at which you type. If your typing speed suddenly jumps from a normal 50 words per minute (WPM) to an impossible 300 WPM, it strongly implies that code is being copied from another window.

2. Copy-and-Paste Telemetry

Because modern tech platforms evaluate the overall velocity of code construction, copying and pasting a pre-written block of code will register an instant, high-risk flag on your candidate record. Codility intercepts the standard browser paste event inside its text area, logging the size of the pasted text and the timestamp.

3. Plagiarism Database Checks

Codility maintains a massive repository of past test submissions and public solutions from platforms like GitHub and LeetCode. Once you submit your code, it is analyzed by similarity algorithms that check for structural equivalence. Even if you change variable names or rearrange minor functions, the underlying structural logic will still match if the code was copied directly from an online source.


How to Avoid Triggering Proctoring Alerts on Codility

If you want to ensure your candidate profile remains entirely green and free of red flags, you must follow strict preparation guidelines. To successfully pass your technical evaluations, it is essential to learn how to avoid triggering proctoring alerts that immediately draw negative attention to your application.

To prevent accidental focus logs, candidates should disable all operating system notifications and close all background communication apps at least 15 minutes before initiating a Codility session.

Use this step-by-step checklist to prepare your environment:

  1. Quit Communication Apps: Completely close Slack, Discord, Microsoft Teams, WhatsApp Desktop, and any email clients. A single incoming message popup can cause a temporary loss of browser focus if clicked.
  2. Turn on "Do Not Disturb": Enable your operating system's focus mode (Focus Assist on Windows, Do Not Disturb on macOS) to suppress all system alerts and updates.
  3. Disable Browser Extensions: Certain extensions (especially adblockers, translation tools, and AI assistants) run content scripts in the background that can interfere with Codility's JavaScript, triggering false proctoring positives.
  4. Disconnect Secondary Displays: Keep your setup limited to a single monitor. Having a second screen open makes it too easy to accidentally click outside the test boundary.
  5. Use Stealth Assistance: If you are considering using AI assistance, standard web extensions are easily detected. Instead, using the best invisible AI coding copilot for technical interviews ensures your screen-sharing and browser telemetry remain completely clean.

Meet CloakAI: The Invisible Coding Companion

Traditional coding assistants operate as browser extensions or floating windows that require you to click away from your test. In a proctored environment, these tools are a recipe for immediate disqualification.

CloakAI solves this problem by decoupling the AI assistant from the browser sandbox entirely. It is a native desktop application that functions as an invisible overlay on your screen.

By operating as an external system layer that is invisible to screen-sharing software, CloakAI allows candidates to receive algorithmic solutions in under 2 seconds without triggering a single browser focus change.

Why CloakAI is the Ultimate Solution:

  • Zero Browser Interaction: Because it does not run in the browser or inject code into the DOM, Codility's Page Visibility and Focus APIs remain completely unaware of its existence.
  • Screen-Share Invisible: If your interview requires you to share your screen on Zoom, Google Meet, or Webex, CloakAI is completely invisible to the proctors or interviewers looking at your shared screen.
  • Fast and Intelligent: Utilizing state-of-the-art reasoning models, CloakAI parses the problem statement on your screen and outputs syntactically correct code blocks and step-by-step logic explanations.
  • Keeps the Test Active: You never have to switch tabs, click another window, or copy-paste text, keeping your proctoring logs clean.

By bypassing the web browser entirely, CloakAI provides an elegant way to receive real-time reasoning and syntax support without ever leaving the test environment.


Frequently Asked Questions (FAQ)

Q: Does Codility track tab switching? A: Yes, Codility uses the HTML5 Page Visibility API to detect when you leave the test tab, recording the exact timestamp and duration of your absence.

Q: Can Codility see what other tabs I have open? A: No, Codility cannot see your browsing history, open tabs, or running applications due to browser sandbox security. It only knows that you left the test environment.

Q: Does a single tab switch fail you on a Codility test? A: No, a single, brief tab switch is usually ignored by recruiters as an accidental click or notification popup. However, repeated focus switches will trigger a manual review.

Q: Can you google during codility test? A: While you can technically open Google in another window, doing so on the same machine triggers a focus loss event on the Codility tab, which is flagged as highly suspicious.

Q: Can Codility detect if I use a second monitor? A: Yes. Although Codility cannot see your second monitor's screen, clicking onto any window displayed on that monitor causes the Codility tab to lose focus, which is tracked.

Q: How does CloakAI assist during a proctored Codility assessment? A: CloakAI functions as an independent, system-level overlay that is invisible during screen share, allowing you to view solutions and reasoning without clicking away or losing tab focus.

Enjoyed this article?

Subscribe to get more insights on interview strategies and AI tools delivered to your inbox.