Looking at the `selenium-server.log` of the both and comparing, it seems to go
all wrong for Safari here:
```
10:12:57.177 INFO - Executing: [set window position])
10:12:57.204 WARN - Exception thrown
org.openqa.selenium.NoSuchWindowException: A request to use a window could not
be satisfied because the window could not be found. (WARNING: The server did
not provide any stacktrace information)
Command duration or timeout: 13 milliseconds
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'itako290.prod.miso', ip:
'fe80:0:0:0:c3f:8934:b675:8b9c%en0', os.name: 'Mac OS X', os.arch: 'x86_64',
os.version: '10.12.6', java.version: '9.0.4'
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false,
databaseEnabled=true, handlesAlerts=true, version=12604.5.6.1.1,
cleanSession=true, platform=MAC, nativeEvents=true,
locationContextEnabled=false, webStorageEnabled=true, browserName=safari,
javascriptEnabled=true, platformName=macOS, cssSelectorsEnabled=true}]
Session ID: F3C5C069-19D7-4436-B699-B705F59B57E5
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)
at
org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:215)
at
org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:167)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:671)
at
org.openqa.selenium.remote.RemoteWebDriver$RemoteWebDriverOptions$RemoteWindow.setPosition(RemoteWebDriver.java:895)
at
org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWindow.setPosition(EventFiringWebDriver.java:629)
at
org.openqa.selenium.remote.server.handler.SetWindowPosition.call(SetWindowPosition.java:53)
at
org.openqa.selenium.remote.server.handler.SetWindowPosition.call(SetWindowPosition.java:27)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
10:12:57.208 WARN - Exception: A request to use a window could not be satisfied
because the window could not be found. (WARNING: The server did not provide any
stacktrace information)
Command duration or timeout: 13 milliseconds
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'itako290.prod.miso', ip:
'fe80:0:0:0:c3f:8934:b675:8b9c%en0', os.name: 'Mac OS X', os.arch: 'x86_64',
os.version: '10.12.6', java.version: '9.0.4'
Driver info: org.openqa.selenium.safari.SafariDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false,
databaseEnabled=true, handlesAlerts=true, version=12604.5.6.1.1,
cleanSession=true, platform=MAC, nativeEvents=true,
locationContextEnabled=false, webStorageEnabled=true, browserName=safari,
javascriptEnabled=true, platformName=macOS, cssSelectorsEnabled=true}]
Session ID: F3C5C069-19D7-4436-B699-B705F59B57E5
...
```
After that the test goes into an endless loop.
[ Full content available at:
https://github.com/apache/cordova-plugin-media-capture/issues/105 ]
This message was relayed via gitbox.apache.org for [email protected]