I understand that the OS update caused to this issue not only for the chromedriver but also for the geckodriver.
Both chromedriver and geckodriver start without any problem when, the station that was updated, runs them locally (drive C:\ for instance). The issues arises when these two are found in a network path.
I have checked the permissions for the specific user, that runs these drivers, and I also checked the UAC and the Firewall but they don't seem to be related to the issue.
I prefer running the drivers from a network path for the sake of Maintenance. Because, I have several automation stations I want to centralize the infrastructure. This way I don't need to maintain the infrastructure in each one of the stations.
I am running both drivers with their default settings without using their options and I believe that maybe using these options can solve the issue.
Is someone familiar with these kind of issues ? Is it possible that by using the driver's options I can pass these issues safely ?
By the way I am running over a Windows 10 Pro Version: 1803 OS build: 17134.1
The chromedriver is version 2.40.565498 win32 and the geckodriver is v0.20.1-win64
The error messages that I get are:
chromedriver
[1530079175.164][SEVERE]: CreatePlatformSocket() returned an error: An invalid argument was supplied. (0x2726)
[1530079175.165][INFO]: listen on IPv4 failed with error ERR_INVALID_ARGUMENT
[1530079175.166][SEVERE]: CreatePlatformSocket() returned an error: An invalid argument was supplied. (0x2726)
[1530079175.166][INFO]: listen on IPv6 failed with error ERR_INVALID_ARGUMENT
geckodriver
An invalid argument was supplied. (os error 10022)
As you have mentioned:
C:\
drive)Historically, as per the discussions:
It had been observed that both ChromeDriver and GeckoDriver when shared over the network, while initializing the respective Browser Clients the following errors were observed:
Sample A:
Sample B:
Sample C:
And even:
Solution
So a generalized solution would be to access ChromeDriver and GeckoDriver by putting them into the local drives of the host machine.