code: def test_iframe_correctly_sets_attr(app: Page):
      """Test that iframe correctly sets attributes."""
  
      iframe_component = app.locator("iframe").nth(1)
  
      expect(iframe_component).to_have_attribute(
          "src", "http://not.a.real.url"
      )
      expect(iframe_component).to_have_attribute("width", "200")
      expect(iframe_component).to_have_attribute("height", "500")
      expect(iframe_component).to_have_attribute("scrolling", "auto")
  
imports: import re
  from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 3 for calling a global function with example usage: test_iframe_correctly_sets_attr(app) without return types