---
title: Patrol
headTitleOverride: "Patrol: E2E UI Testing Framework for Flutter Apps"
hideNext: true
---

![Patrol promotional graphics](/assets/patrol_lncd.png)

A powerful, multiplatform E2E UI testing framework for Flutter apps that overcomes the limitations of integration_test by handling native interactions. Developed since 2022 by [LeanCode][leancode] - top Flutter development company for Enterprise and Scale-ups - battle-tested and shaped by production-grade experience. 

[![Patrol webinar graphics](/assets/webinar_banner.jpg)](https://leancode.co/webinar/e2e-testing-in-flutter?utm_source=patrol_page&utm_medium=banner&utm_campaign=webinar)

## Why choose Patrol?

### Native Access, Redefined

Unlock [**native platform features**][native] right within your Flutter tests. With Patrol, you can:
 - Interact with **permission dialogs**, **notifications**, and **WebViews**.
 - Modify **device settings**, toggle **Wi-Fi**, and more.
 - Achieve all this effortlessly using plain **Dart** code.

### Intuitive Test Writing

Say goodbye to complexity with Patrol’s custom finder system.
 - Streamline your test code with a shorter, more readable, [**new custom finder system**][finders].
 - Enjoy the speed and convenience of [**Hot Restart**][hot restart], which makes integration testing faster, easier, and more fun.
 - Quickly inspect the currently visible Android/iOS views and discover their properties with the **Patrol DevTools extension**.

### Production-Ready Integration Testing

Patrol revolutionizes Flutter’s built-in `integration_test` plugin:
 - Overcomes its limitations with **full test isolation** between tests and **sharding**.
 - Delivers a robust, **production-grade solution** for your app testing needs.
 - Offers **console logs** to get real-time insights during test execution.

### Compatible with Device Farms

With Patrol's native-like testing capabilities, you can  use popular device farms like:
 - Firebase Test Lab
 - BrowserStack
 - LambdaTest
 - Marathon
 - emulator.wtf
 - AWS Device Farm

## Trusted by LeanCode and the Flutter Community

Patrol is a fully open-source project, and we're proud to share it with the amazing 
Flutter community. Patrol isn’t just a tool; it’s a commitment to quality. At LeanCode, 
we use Patrol to test production-grade apps for clients across industries, and now, you can do the same!

<Info>
[Get Patrol from pub.dev now!][patrol_on_pubdev]
</Info>

## Need expert help?

LeanCode offers end-to-end automated testing services tailored for Flutter apps, as well as Patrol setup and Patrol training to help your teams get the most out of Patrol. Interested? Click on a dedicated banner below.

[![Automated UI testing services in Flutter](/assets/testing_services.jpg)](https://leancode.co/products/automated-ui-testing-in-flutter?utm_source=patrol_page&utm_medium=banner&utm_campaign=service)

[![Patrol setup and training](/assets/patrol_setup_and_training.jpg)](https://leancode.co/products/patrol-setup-training?utm_source=patrol_page&utm_medium=banner&utm_campaign=service)

## More about Patrol

- [How Patrol 4.0 Makes Cross-Platform Flutter Testing Possible][article_4x]
- [Simplifying Flutter Web Testing: Patrol Web][article_web]
- [Patrol VS Code Extension - A Better Way to Run and Debug Flutter UI Tests][article_vscode]
 - GitHub Repository: [leancodepl/patrol][github_repo]
 - Discord Channel: [Join the Patrol channel][dc_invite]
 - Get a quick introduction to Patrol and see the video:

<YouTube id="KRWgAonXH9o" />

[leancode]: https://leancode.co
[native]: /documentation/native/overview
[finders]: /documentation/finders/overview
[hot restart]: /cli-commands/develop
[patrol_on_pubdev]: https://pub.dev/packages/patrol
[dc_invite]: https://discord.com/invite/ukBK5t4EZg
[article_web]: https://leancode.co/blog/patrol-web-support?utm_source=github.com&utm_medium=referral&utm_campaign=patrol_page
[article_4x]: https://leancode.co/blog/patrol-4-0-release?utm_source=github.com&utm_medium=referral&utm_campaign=patrol_page
[article_vscode]: https://leancode.co/blog/patrol-vs-code-extension?utm_source=github.com&utm_medium=referral&utm_campaign=patrol_page
[github_repo]: https://github.com/leancodepl/patrol
