appium-dashboard-plugin icon indicating copy to clipboard operation
appium-dashboard-plugin copied to clipboard

Custom Capability does not work

Open fury3698 opened this issue 1 year ago • 2 comments
trafficstars

Hello.

Thank you for the great dash board.

Due to the limited storage, I do not want to record the video, but just stream it.

Here is my code, but it does not work.

def setUp(self) -> None: super(TestAppium, self).setUp()
options = AppiumOptions() options.load_capabilities({ "platformName": "android", "appium:automationName": "uiautomator2", "appium:ensureWebviewsHavePages": True, "appium:nativeWebScreenshot": True, "appium:newCommandTimeout": 180, "appium:connectHardwareKeyboard": True, "appium:udid": selected_device, "appium:eventTimings": True, "appium:printPageSourceOnFindFailure": True, "appium:appWaitForLaunch": False, "noReset": True, "takesScreenshot": False, "nativeWebScreenshot": False, "dashboard:enableVideoRecording": False,
}) self.driver1 = webdriver.Remote("http://192.168.212.110:4723", options=options)

Any advice plz?

Thank you.

fury3698 avatar Jan 31 '24 07:01 fury3698

can you make sure you are using appium-dashboard version 2.0.3?

sudharsan-selvaraj avatar Jan 31 '24 07:01 sudharsan-selvaraj

can you make sure you are using appium-dashboard version 2.0.3?

I am using version 2.0.3 and noticed that "dashboard:enableLiveVideo" "dashboard:enableVideoRecording" do not work if you run the appium server with two plugins at once --use-plugins=device-farm,appium-dashboard, if you run only with appium-dashboard, then the capability changes work.

nskcashHH avatar Apr 25 '24 09:04 nskcashHH