Record a video of your app
Developer options -> Check show touches
adb shell screenrecord /sdcard/video.mp4
adb pull /sdcard/video.mp4
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
// ============================================================ // | |
// CAST | |
// ============================================================ // | |
window.chrome = {}; | |
window.chrome.cast = {}; | |
window.chrome.cast.isAvailable = true; | |
window.chrome.cast.initialize = function(a, b, c) { } | |
window.chrome.cast.ApiConfig = function(a, b, c) { | |
// This fakes that chromecast is available so the button appears | |
// call anything other than "available" to fake chromcast dissapearing |
package example.junit; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.Iterator; | |
import java.util.List; | |
import org.apache.commons.lang3.StringUtils; |