Every OGPlayer control carries a stable automation identifier, identical on all
platforms, so one page-object model drives your Android, iOS, web and React Native test
suites. On Android they are exposed as Compose test tags (surfaced as
resource-ids), on iOS as accessibilityIdentifier, and on the web as
data-testid attributes; the React Native wrapper inherits them from the
native SDKs. Identifiers are part of the public API surface: they are stable
across releases, and separate from the localized accessibility labels.
| Identifier | Element |
|---|
og_player | Player root |
og_btn_play_pause | Play / pause / replay button |
og_btn_seek_back | Seek-backward button |
og_btn_seek_forward | Seek-forward button |
og_scrub_bar | Progress bar |
og_scrub_preview | Trick-play preview |
og_time_label | Time readout |
og_live_chip | LIVE chip |
og_btn_volume | Volume button |
og_volume_slider | Volume slider |
og_btn_speed | Playback-speed button |
og_btn_quality | Video-quality button |
og_btn_audio | Audio-track button |
og_btn_subtitles | Subtitle button |
og_btn_fullscreen | Fullscreen button |
og_btn_cast | Cast button (Android) |
og_btn_airplay | AirPlay button (iOS) |
og_menu | Open settings / track menu |
og_menu_item | Menu row — repeated; query by position |
og_custom_action_<n> | Host custom action, in configured order (0-based) |
og_overlay_<slot> | Overlay slot container (og_overlay_top_start … og_overlay_bottom_end) |
og_title | Title overlay |
og_ratings_row | Content-rating row |
og_buffering | Buffering indicator |
og_btn_ad_play_pause | Ad transport button |
og_upnext_card | Up-next card |
og_error_overlay | Error surface |
og_btn_error_retry | Error retry button |
| Identifier | Element |
|---|
og_feed | Feed root |
og_feed_page_<n> | Feed page (0-based) |
og_feed_rail | Action rail |
og_feed_rail_action_<n> | Rail action, in configured order (0-based) |
og_feed_hairline | Progress hairline |
og_feed_sponsored_badge | Sponsored badge |