Example #1
0
 def _remove_back_drop(self):
     LOG.info('---- Remove md-backdrop ---')
     self.splinter.execute_script(
         "document.getElementsByTagName('md-backdrop')[0].style.display = 'none'"
     )
Example #2
0
 def _remove_scroll_back(self):
     LOG.info('---- Remove md-scroll-mask ---')
     self.splinter.execute_script(
         "document.getElementsByClassName('md-scroll-mask')[0]['style']['display'] = 'none'"
     )