How to enable Image injection in the Appium-Python Session?

How to enable Image injection in the Appium-Python Session?

Hello Macy-Davis,

To do so, you just need to add the “enableImageInjection” and “media” capabilities to your script. Please refer to the sample below:

desired_capabilities = {
    "enableImageInjection": True,
    "media": "lt://MEDIAf446d4170cd946aa9ec307d10cb679b9", #Add media_url here
  }