Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Custom Capability does not work #139

Open
fury3698 opened this issue Jan 31, 2024 · 2 comments
Open

Custom Capability does not work #139

fury3698 opened this issue Jan 31, 2024 · 2 comments

Comments

@fury3698
Copy link

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.

@sudharsan-selvaraj
Copy link
Owner

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

@nskcashHH
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants