code: def safe_execute_script(self, script):
          
          try:
              self.execute_script(script)
          except Exception:
              # The likely reason this fails is because: "jQuery is not defined"
              self.activate_jquery()  # It's a good thing we can define it here
              self.execute_script(script)
docs: When executing a script that contains a jQuery command,
              it's important that the jQuery library has been loaded first.
              This method will load jQuery if it wasn't already loaded.