get xpaths returns only one element
use tempfile for main image