I’d like to get the video duration and the current time where the video is
and I’m using these two lines to get those.
duration = driver.find_element(AppiumBy.ID, 'com.twitter.android:id/time').text
ccurrent_time = driver.find_element(AppiumBy.ID, 'com.twitter.android:id/time_current').text
However, they are very slow, and I can’t read the real progress of the video. Is there any alternative?