Comments (10)
The fact that it requires admin privileges to bind to non localhost suggests that driver might be using http.sys. It seems that it is possible to specify IP address as *
. In that case driver will listen both on localhost and external ip address of you host machine. I've tried it locally and from the same machine I was able to get response both to http://localhost:5000/status
and http://10.211.55.6:5000/status
(IP option was set to *
, port option was set to 5000
).
from winappdriver.
By default we don't want to bind to external-facing network interfaces for security reasons. It's by design that we're not remotely accessible.
from winappdriver.
Any update?
from winappdriver.
Just to clarify - you have installed WinAppDriver on a Surface and you are targeting that machine from a Remote selenium client. Could you specify some cURL commands you are using from the remote client to target your WinAppDriver server so that we can try and repro the issue?
from winappdriver.
Test - Open app
DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("app", "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"); rwd = new RemoteWebDriver(new URL("http://172.30.201.161:4723/wd"), capabilities);
Issue
If WinAppDriver runs without input parameters, it starts automatically with 127.0.0.1.
In the case, the test from remote machine FAILED.
In the case, the test from local (where WinAppDriver is running) machine SUCCESS.
If WinAppDriver gets IP Address as a input parameter.
In the case, the test from remote machine is SUCCESS.
Question
Why to provide IP Address? IMO, Server must get a PORT only.
from winappdriver.
I closed it by mistake. It is still relevant.
from winappdriver.
Can you please consider to provide a new setting option?
The option allows to set security mode. By default, it will be secured (local). User can easy change it to unsecured (external) without providing external-facing IP Address.
In my case, external IP address may change after restart. I don't want to update batch file on each restart. The above option will avoid redundant maintenance of batch file.
Thanks in advance
from winappdriver.
Another strange case.
If WinAppDriver is configured with external IP address and you run a test from LOCAL machine (where WinAppDriver is running) then
Test with connect string that contains 172.30.201.161 will SUCCESS
new RemoteWebDriver(new URL("http://172.30.201.161:4723/wd"), capabilities);
Test with connect string that contains 127.0.0.1 will FAIL
new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd"), capabilities);
WDYT? Security :) ?
Thanks in advance
from winappdriver.
I will try. The /status URL works. Unfortunately, I can't check E2E scenario as WinAppDriver fail to run Application.
I opened new issue on that.
Thanks again
from winappdriver.
Thanks to NiackAb, the issue is closed.
Thanks again
from winappdriver.
Related Issues (20)
- I have a problem with pop up window and after Upgrade sellenium to 4.0 is not working HOT 5
- scroll down issue for listview items HOT 2
- WinAppDriver Dont support Appium-Python-Client higher version than v2.2.0 HOT 1
- Unable to identify the UI when we run the script through command prompt HOT 5
- WinAppDriver causes my application to randomly crash HOT 1
- WinAppDriver not starting properly while using Appium Inspector HOT 17
- How to start WinAppDriver as a non-admin user HOT 5
- How to access popup window outside of WinAppDriver Appium WinForm in C#? HOT 5
- {"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}} HOT 7
- Desktop automation using winapp driver
- Is there an installer for the recorder tool? HOT 5
- Win app driver not working in Selenium Webdriver Typescript HOT 11
- Unable to locate Grids or Windows HOT 5
- Extracting data from ListBox item HOT 5
- What could cause WinAppDriver to exit immediately after start? HOT 2
- Not able to locate element that is displayed in Inspect.exe for Paint 3D HOT 3
- Not able to scroll with Touch Action class HOT 3
- WinAppDriver vs UIAutomation library(UIAutomationClient.dll) HOT 2
- Can we integrate WinAppDriver with AzureDevOps? HOT 1
- Update WinAppDriver to support Selenium 4 (Python/C#)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winappdriver.