add wait for visible to avoid failing in detect element
renaming files to have .xml extension