Android Device Farm at Mercari
Hello everyone! Vishal from Mercari’s SET team.
Nice tutorial! One thing I would suggest is to replace the sleep with an explicit wait — preferably for an element that you’re trying to take the screenshot of.
Sample code below:
wait = new WebDriverWait(driver, EXPLICIT_WAIT_DURATION);