IFrameElement.set_attr#

IFrameElement.set_attr(name, value)#

Sets the value of an HTML element attribute.

Parameters:
  • name (str) – The name of the attribute.

  • value – The new value of the attribute.