Jump to content

WebDriver UDF - use different Edge port


Recommended Posts

Is there a way to use a different port than 9515? on this forum WebDriver UDF (W3C compliant version) - 01/16/2021 - Page 33 - AutoIt Example Scripts - AutoIt Forums (autoitscript.com) they are using port 9515 but I am already using port 9515 for Chrome and changing the port for Edge to something other than 9515 fails. Is it possible to have two separate instances at the same time one for Chrome and one for Edge using the same port?

Link to post
Share on other sites

for clarification, the script open Edge as expected if I use the port is 9515 but, if I tried any other port number it fails.  the port number in the script is set as a variable "Local $sEdgeDriverPort = 9515 ; Standard port"  and the only thing I am changing in the script when it work and does not is the integer value of $sEdgeDriverPort.

I just ran a test using 9815 start to load the driver but the browser does not open

[1614200719.704][INFO]: Starting MSEdgeDriver 88.0.705.74 (498de26f3a841db44fe68b74f2d05bb9f2464147) on port 9515
[1614200719.708][INFO]: Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping MSEdgeDriver safe.

I ran netstat and that port was in used and was never opened

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...