I want to connect the Appium server with the inspector. I am using the Appium with python. I have written the desired capabilities in the python language in pycharm.
Please find the code attached.
I have installed the android studio latest version 2023.2.1.25, python version 3.10.9, pip version 23.3.1, appium server latest version 1.22.3 with sdk path set and java path set.
from appium import webdriver
from appium.options.android import UiAutomator2Options
options = UiAutomator2Options()
options.plateformName='Android',
options.plateformVersion= '7.1.1'
options.deviceName= 'emulator-5554'
options.automationName='UIAutomator2'
options.app= ("C:/Users/singh/Downloads/com.google.android.calculator_v8.2_(450571785)-82001598_Android-6.0.apk")
options.appPackage="com.google.android.calculator"
options.AppActivity="com.google.android.calculator.CalculatorActivity"
driver= webdriver.Remote("http://localhost:4723/wd/hub", options=options)
Please help me to connect the appium server with inspector with the desired capabilities written in the python in pycharm code.