code: def uidump(self, local: _PATH = None) -> None:
          '''Get the current interface layout file.'''
          local = local if local else self._temp
          self._execute('-s', self.device_sn, 'shell', 'uiautomator',
                        'dump', '--compressed', '/data/local/tmp/uidump.xml')
          self.pull('/data/local/tmp/uidump.xml', local)
          ui = html.fromstring(open(local, 'rb').read())
          self._nodes = ui.iter(tag="node"f uidump(self, local: _PATH = None) -> None:
          '''Get the current interface layout file.'''
          local = local if local else self._temp
          self._execute('-s', self.device_sn, 'shell', 'uiautomator',
                        'dump', '--compressed', '/data/local/tmp/uidump.xml')
          self.pull('/data/local/tmp/uidump.xml', local)
          ui = html.fromstring(open(local, 'rb').read())
          self._nodes = ui.iter(tag="node")
docs: Get the current interface layout file.