docker-compose -f docker-compose-appium.yaml up -d
from appium import webdriver
# Healenium-Proxy URL
nodeURL = "http://localhost:8085"
# Example desired capabilities
desired_caps = {
'platformName': 'Android',
'platformVersion': '11',
'deviceName': 'Android Emulator'
...
}
driver = webdriver.Remote(nodeURL, desired_caps)
String nodeURL = "http://localhost:8085";
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");
capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "11");
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");
...
AppiumDriver driver = new AppiumDriver(new URL(nodeURL), capabilities);
const { remote } = require('webdriverio');
const options = {
capabilities: {
platformName: 'Android',
platformVersion: '11',
...
},
hostname: 'localhost', // Replace with the IP address of your Appium server
port: 8085,
path: '/',
logLevel: 'error'
};
(async () => {
const driver = await remote(options);
})();
String nodeURL = "http://localhost:8085";
AppiumOptions options = new AppiumOptions();
options.AddAdditionalCapability("platformName", "Android");
options.AddAdditionalCapability("platformVersion", "11");
options.AddAdditionalCapability("deviceName", "Android Emulator");
...
Uri serverUri = new Uri("nodeURL"); // Replace with the URL of your Appium server
AndroidDriver<AndroidElement> driver = new AndroidDriver<AndroidElement>(serverUri, options);