How to: Firebase Test Lab
You can also run UI tests on Google's [Firebase Test Lab](https://firebase.google.com/docs/test-lab) with emulators or physical devices.

To create and configure a project on the platform:

* Create a project in [Google Cloud Platform](https://console.cloud.google.com/cloud-resource-manager) if you haven't created one yet.

* Create a project in [Firebase](https://console.firebase.google.com/):

    * Choose the recently created Google Cloud Platform project to add Firebase services to it.
    
    * Confirm Firebase billing plan.

* Go to **IAM & Admin** -> **Service Accounts** in [Google Cloud Platform](https://console.cloud.google.com/iam-admin/serviceaccounts):

    * Edit the Firebase Admin SDK Service Agent account.
    
    * **Keys** -> **ADD KEY** -> **Create new key** -> **Key type**: **JSON** -> **CREATE**.
    
    * Download and save the created private key to your computer.

* Go to **IAM & Admin** -> **IAM** in [Google Cloud Platform](https://console.cloud.google.com/iam-admin/iam):

    * Edit the Firebase Admin SDK Service Agent account.
    
    * **ADD ANOTHER ROLE** -> **Role**: **Project** -> **Editor** -> **SAVE**.

* Go to [API Library](https://console.developers.google.com/apis/library) -> search for **Cloud Testing API** and **Cloud Tool Results API** -> enable them.

Once finished setup, you can then launch a container to deploy UI tests to Firebase Test Lab:

```bash