Appium using Python in youtube app

I am working on Youtube app using Appium.

  1. How do i go about measuring the network statistics
  2. Finding the current time in the progress bar, there is no unique way to identify the current time or the end time while the video is playing. Also there is no information regarding the read-ahead bar.

resource-id=“com.google.android.youtube:id/time_bar_current_time”
resource-id=“com.google.android.youtube:id/time_bar_total_time”

Get text attribute for above android.widget.TextView

you will get current time & total time of the video which is playing.

1 Like