- 29 Mar 2023
- 1 Minute to read
- Print
- DarkLight
Wildnet for Browser Cloud
- Updated on 29 Mar 2023
- 1 Minute to read
- Print
- DarkLight
Overview
Wildnet helps users to test their local site on any Mac/Windows machine on the pCloudy platform. Users can use this feature for both manual and automation testing.
This document exhibits procedures to use Wildnet in both manual and automated testing.
Prerequisites
User should be logged in device.pcloudy.com
Please ensure that the below mentioned URLs/IPs are allowed in your network
- https://wildnetserverservices.pcloudy.com
- IP: 65.1.200.201
- https://wildnetservices.pcloudy.com
- IP: 3.6.161.28
- https://wildnetservices.pcloudy.com
Enable the below mentioned ports for Wildnet feature
- 80 -- HTTP
- 443 -- HTTPS
Steps for enabling Wildnet Manually
Navigate to the “Browsers” tab to connect a machine.
Open the command prompt and run the command mentioned below with your User ID, access key and the URL to enable Wildnet.
./pCloudyWildNetLinux_v1 -i john.doe@xyz.com -k 37qf6bfjtg5k63vd4 -u https://device.pcloudy.comOnce the machine is connected in the browser cloud, click on the “ENABLE WILDNET” icon.
Users can test local sites once the Wildnet gets enabled.
Steps for enabling Wildnet through Automation
To use the wildnet feature while using selenium, perform the steps mentioned above and along add the below mentioned capabilities in the script.
DesiredCapabilities caps = new DesiredCapabilities().internetExplorer();
DesiredCapabilities caps = new DesiredCapabilities().edge();
DesiredCapabilities caps = new DesiredCapabilities().chrome();
DesiredCapabilities caps = new DesiredCapabilities().firefox();
DesiredCapabilities caps = new DesiredCapabilities().safari();
caps.setCapability("os", os);
caps.setCapability("osVersion", osVersion);
caps.setCapability("browserVersion",browserVersions);
caps.setCapability("enableWildnet",true);
caps.setCapability("clientName", "abc@sstsinc.com");
caps.setCapability("apiKey", "7pjNEMWeHUkUujh");
caps.setCapability("email", "abc@sstsinc.com");
driver = new RemoteWebDriver(new URL("https://browsercloud-in.pcloudy.com/seleniumcloud/wd/hub"), caps);
System.out.println("driver intialized");
Note: To turn on/off wildnet, Users need to pass true/false value as per the requirement in the enableWlidnet capability.