code: def set_class_value(self, selector, classname):
          
          return self.evaluate("""
              (function () {{
              var element = document.querySelector({0});
              element.className = {1};
              }})();""".format(repr(selector), repr(classname)))
docs: Set the class of element matched by the given selector.