code: def test_clp003_clipboard_text(dash_dcc_headed):
      copy_text = (
          "Copy this text to the clipboard using a separate button"
      )
      app = Dash(__name__, prevent_initial_callbacks=True)
      app.layout = html.Div(
          [
              dcc.Clipboard(
                  id="copy_icon", content=copy_text, n_clicks=0
              ),
              dcc.Textarea(id="paste"),
              html.Button("Copy", id="copy_button", n_clicks=0),
          ]
      )
  
      @callback(
          Output("copy_icon", "n_clicks"),
          State("copy_icon", "n_clicks"),
          Input("copy_button", "n_clicks"),
          prevent_initial_call=True,
      )
      def selected(icon_clicks, button_clicks):
          return icon_clicks + 1
  
      dash_dcc_headed.start_server(app)
  
      dash_dcc_headed.find_element("#copy_button").click()
      time.sleep(1)
      dash_dcc_headed.find_element("#paste").click()
      ActionChains(dash_dcc_headed.driver).key_down(
          Keys.CONTROL
      ).send_keys("v").key_up(Keys.CONTROL).perform()
  
      wait.until(
          lambda: dash_dcc_headed.find_element("#paste").get_attribute(
              "value"
          )
          == copy_text,
          timeout=3,
      )
  
imports: from dash import Dash, html, dcc, callback, Output, Input, State
  import dash.testing.wait
  import time
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.common.keys import Keys
label_desc: Use image node_id 3 for calling a global function with example usage: test_clp003_clipboard_text(dash_dcc_headed) and returns: unknown