Optics icon
Optics icon

Optics

 Like

Optics is open-source test automation for Android, iOS, Android TV, Samsung Tizen, LG webOS and the web. It's a Python package (optics-framework, Apache-2.0) that runs on your machine or in CI, with no hosted service and no account.

Optics screenshot 1

Cost / License

Application type

Since

  • New

Updated

  • Updated Oct 2026

Platforms

  • Windows
  • Mac
  • Linux
  • Self-Hosted
  • Python
0likes
0articles
Save

Features

Features

Highlights All activities

Optics News & Activities

Recent activities

Optics information

GitHub repository

  •  57 Stars
  •  18 Forks
  •  78 Open Issues
  •   Updated  
View on GitHub
Optics was added to AlternativeTo by chinmayajha on and this page was last updated .

No comments or reviews, maybe you want to be first?

Official Links

What is Optics?

Optics is open-source test automation for Android, iOS, Android TV, Samsung Tizen, LG webOS and the web. It's a Python package (optics-framework, Apache-2.0) that runs on your machine or in CI, with no hosted service and no account.

A test suite is plain CSV or YAML: test cases, modules (one keyword per row) and elements. It lives in your repo, so changing a test is a pull request.

You can create a suite four ways: write it by hand (or use the same keywords from pytest or Robot Framework), record it step by step with optics live, describe the flow in plain English, or let an AI agent such as Claude Code or Cursor drive the device over the built-in MCP server and write the suite files.

Each element can have several locators, tried cheapest first: XPath, then visible text, then OCR on a screenshot, then image matching. A renamed resource ID no longer fails the run, and the log shows which locator matched.

Runs write JUnit XML and annotated screenshots, and can fail when a crash dialog or "Session expired" shows on screen even if no step checked for it. For locked-down devices there's a Bluetooth (BLE) driver: a USB HID dongle acts as mouse and keyboard while a camera watches the screen.