'Execute javascript to bring the popup(.badges-model) inside the window.'

def bring_model_inside_window(self):

    script_to_execute = "var    popup    =    document.querySelectorAll('.badges-modal')[0];;popup.style.left    =    '20%';"
    self.browser.execute_script(script_to_execute)
