Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for screen recording with VIEW intent #44

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

mstange
Copy link
Contributor

@mstange mstange commented Jul 4, 2024

You can run it as follows:

python3 ./record_adb.py --mode applink --package org.mozilla.fenix --url https://theme-crave-demo.myshopify.com/ --output shopify-app-link.mp4

This also adds support for launching the app with the launcher activity,
as an alternative to simulating user touch.
Simulating user touch to start an app can be tricky if you're installing
apps in an automated fashion (e.g. for CI testing) and can't ensure that
the app icon is placed in a specific place on the screen.

python3 ./record_adb.py --mode launch --package org.mozilla.fenix --output launch.mp4

@mstange mstange force-pushed the record-intent branch 2 times, most recently from d3a6b5d to 21f237b Compare July 4, 2024 15:21
You can run it as follows:

```
python3 ./record_adb.py --mode applink --package org.mozilla.fenix --url https://theme-crave-demo.myshopify.com/ --output shopify-app-link.mp4
```

This also adds support for launching the app with the launcher activity,
as an alternative to simulating user touch.
Simulating user touch to start an app can be tricky if you're installing
apps in an automated fashion (e.g. for CI testing) and can't ensure that
the app icon is placed in a specific place on the screen.

```
python3 ./record_adb.py --mode launch --package org.mozilla.fenix --output launch.mp4
```
Copy link
Contributor

@MarcLeclair MarcLeclair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me 👍

@MarcLeclair MarcLeclair merged commit 1c39e9b into mozilla-mobile:main Jul 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants