Closed bartonhammond closed 6 years ago
What Mink Driver are you using?
"behat/mink-selenium2-driver": "^1.3",
Likely there is a problem in Safari driver (binary file, that connects to Web Browser), because some time ago Mink Driver tests mostly worked on Safari.
I've found https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari instruction for enabling Safari driver. Maybe you have enabled Safari Driver incorrectly.
I had already followed those steps, namely:
safaridriver --enable
I don't see anything from that page that I haven't already done. The Safari browser does come up but it doesn't seem to work with equivalence to Chrome. All my tests pass w/o issue w/ Chrome.
Maybe you can record output from Selenium Server for Google Chrome and for Safari. This way we can clearly see all executed commands and which of them fails.
If for Safari same commands are executed and no error happens (just find
call doesn't find anything), then maybe something different happens on a page in Safari (e.g. content, that is searched for is loaded later or via AJAX) and tests doesn't account for that.
Try the find
operation on very basic page: empty page and element is right there immediately. If that works, then theory I've explained above might be causing this.
How do I do "Maybe you can record output from Selenium Server for Google Chrome and for Safari."?
On Thu, Sep 20, 2018 at 10:19 AM, Alexander Obuhovich < notifications@github.com> wrote:
Maybe you can record output from Selenium Server for Google Chrome and for Safari. This way we can clearly see all executed commands and which of them fails.
If for Safari same commands are executed and no error happens (just find call doesn't find anything), then maybe something different happens on a page in Safari (e.g. content, that is searched for is loaded later or via AJAX) and tests doesn't account for that.
Try the find operation on very basic page: empty page and element is right there immediately. If that works, then theory I've explained above might be causing this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/minkphp/Mink/issues/764#issuecomment-423223089, or mute the thread https://github.com/notifications/unsubscribe-auth/ABORPAGbebd48SQ3C3wZ2b1gwqGrmo-Yks5uc7IUgaJpZM4WyN3W .
Is vendor/bin/selenium-server-standalone --debug
good enough?
Here is chrome
log from selenium
:
10:27:55.490 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.0', revision: '7c6e0b3'
10:27:55.491 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-09-20 10:27:55.574:INFO::main: Logging initialized @308ms to org.seleniumhq.jetty9.util.log.StdErrLog
10:27:55.733 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
10:28:20.284 DEBUG [WebDriverServlet.handle] - Found handler: org.openqa.selenium.remote.server.commandhandler.BeginSession@6c351935
10:28:20.288 DEBUG [WebDriverServlet.lambda$handle$1] - /session: Executing POST on /session (handler: BeginSession)
10:28:20.361 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {browser: firefox, browserName: chrome, ignoreZoomSetting: false, name: Behat feature suite, tags: [Wisnet-MacBook-Pro-2.local, PHP 7.1.16]}
10:28:20.363 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService)
10:28:20.395 DEBUG [UrlChecker.waitUntilAvailable] - Waiting for [http://localhost:40557/status]
10:28:20.396 DEBUG [UrlChecker.lambda$waitUntilAvailable$1] - Polling http://localhost:40557/status
Starting ChromeDriver 2.36.540469 (1881fd7f8641508feb5166b7cae561d87723cfa8) on port 40557
Only local connections are allowed.
10:28:20.413 DEBUG [UrlChecker.lambda$waitUntilAvailable$1] - Polling http://localhost:40557/status
10:28:20.438 DEBUG [UrlChecker.lambda$waitUntilAvailable$1] - Polling http://localhost:40557/status
10:28:20.442 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@4d93c0435 pairs: {GET /status HTTP/1.1: null}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
10:28:20.446 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@89157953 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 126}{Content-Type: application/json; charset=utf-8}
10:28:21.377 INFO [ProtocolHandshake.createSession] - Detected dialect: OSS
10:28:21.392 DEBUG [RemoteWebDriver.log] - Executing: newSession [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.36.540469 (1881fd7f864150..., userDataDir: /var/folders/8w/4f5rtpzx61d...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}}]
10:28:21.393 DEBUG [RemoteWebDriver.log] - Executed: [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.36.540469 (1881fd7f864150..., userDataDir: /var/folders/8w/4f5rtpzx61d...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}}]
10:28:21.645 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:22.661 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:22.662 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/url (handler: ServicedSession)
10:28:22.666 DEBUG [Passthrough.handle] - To upstream: {"url":"https:\/\/twlwdev.wpengine.com\/"}
10:28:22.666 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@5283a5eb9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/url HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 42}
10:28:26.447 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@7350bd904 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:26.451 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":null}
10:28:26.453 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:26.454 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing GET on /session/f4ae5fe98deb502da74c8883b4b81b9a/url (handler: ServicedSession)
10:28:26.454 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@6f834e518 pairs: {GET /session/f4ae5fe98deb502da74c8883b4b81b9a/url HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}
10:28:26.463 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@52a1b04c4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 99}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:26.463 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":"https://twlwdev.wpengine.com/"}
10:28:26.465 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:26.466 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing GET on /session/f4ae5fe98deb502da74c8883b4b81b9a/url (handler: ServicedSession)
10:28:26.466 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@64ceb3648 pairs: {GET /session/f4ae5fe98deb502da74c8883b4b81b9a/url HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}
10:28:26.469 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@3345e0a04 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 99}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:26.469 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":"https://twlwdev.wpengine.com/"}
10:28:27.478 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:27.478 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/window/current/maximize (handler: ServicedSession)
10:28:27.480 DEBUG [Passthrough.handle] - To upstream:
10:28:27.480 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@4641d15f9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/window/current/maximize HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 0}
10:28:27.927 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@19bd3a0b4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:27.927 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":null}
10:28:30.488 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:30.489 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/elements (handler: ServicedSession)
10:28:30.490 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/html\/\/a[@href='#'][text()='More']"}
10:28:30.490 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@879ffcb9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/elements HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 67}
10:28:30.503 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@14254e844 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 103}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:30.506 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":[{"ELEMENT":"0.734820654653507-1"}]}
10:28:31.967 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:31.968 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/element (handler: ServicedSession)
10:28:31.969 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/a[@href='#'][text()='More']"}
10:28:31.969 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@5c26be769 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/element HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 59}
10:28:31.982 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@2cbbba9b4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 101}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:31.983 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":{"ELEMENT":"0.734820654653507-1"}}
10:28:31.985 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:31.985 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing GET on /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-1/displayed (handler: ServicedSession)
10:28:31.985 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@6b7b8f608 pairs: {GET /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-1/displayed HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}
10:28:31.998 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@5594ade54 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 73}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:31.998 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":false}
10:28:33.536 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:33.537 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/elements (handler: ServicedSession)
10:28:33.538 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/html\/\/a[text()='Log In']"}
10:28:33.538 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@3c287c2f9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/elements HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 58}
10:28:33.552 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@4d3676534 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 137}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:33.552 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":[{"ELEMENT":"0.734820654653507-2"},{"ELEMENT":"0.734820654653507-3"}]}
10:28:33.554 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:33.554 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/element (handler: ServicedSession)
10:28:33.555 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/a[text()='Log In']"}
10:28:33.555 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@7a01f01a9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/element HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 50}
10:28:33.568 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@a0a813a4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 101}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:33.568 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":{"ELEMENT":"0.734820654653507-2"}}
10:28:33.570 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:33.570 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing GET on /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-2/displayed (handler: ServicedSession)
10:28:33.571 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@75bc5d508 pairs: {GET /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-2/displayed HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}
10:28:33.583 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@bc6295a4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:33.583 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":true}
10:28:38.382 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:38.382 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/elements (handler: ServicedSession)
10:28:38.384 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/html\/\/a[@href='#'][text()='More']"}
10:28:38.384 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@7e3289189 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/elements HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 67}
10:28:38.392 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@20efd4b54 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 103}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:38.392 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":[{"ELEMENT":"0.734820654653507-1"}]}
10:28:38.394 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:38.394 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/element (handler: ServicedSession)
10:28:38.395 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/a[@href='#'][text()='More']"}
10:28:38.396 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@37ae4b259 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/element HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 59}
10:28:38.402 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@d1828734 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 101}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:38.403 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":{"ELEMENT":"0.734820654653507-1"}}
10:28:38.404 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:38.405 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing GET on /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-1/displayed (handler: ServicedSession)
10:28:38.406 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@67880a818 pairs: {GET /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-1/displayed HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}
10:28:38.412 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@391c30b94 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 73}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:38.413 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":false}
10:28:42.225 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:42.225 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/elements (handler: ServicedSession)
10:28:42.226 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/html\/\/a[text()='Log In']"}
10:28:42.227 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@7c2eb3dc9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/elements HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 58}
10:28:42.234 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@3039579a4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 137}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:42.234 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":[{"ELEMENT":"0.734820654653507-2"},{"ELEMENT":"0.734820654653507-3"}]}
10:28:42.235 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:42.236 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/element (handler: ServicedSession)
10:28:42.237 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/a[text()='Log In']"}
10:28:42.237 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@17c28f1e9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/element HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 50}
10:28:42.244 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@4f03eca74 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 101}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:42.245 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":{"ELEMENT":"0.734820654653507-2"}}
10:28:42.246 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:42.246 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/moveto (handler: ServicedSession)
10:28:42.248 DEBUG [Passthrough.handle] - To upstream: {"element":"0.734820654653507-2"}
10:28:42.248 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@46ba06c89 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/moveto HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 33}
10:28:42.269 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@3cc50c024 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:42.269 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":null}
10:28:42.271 DEBUG [WebDriverServlet.handle] - Found handler: f4ae5fe98deb502da74c8883b4b81b9a (org.openqa.selenium.chrome.ChromeDriverService)
10:28:42.271 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session f4ae5fe98deb502da74c8883b4b81b9a (chrome): Executing POST on /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-2/click (handler: ServicedSession)
10:28:42.272 DEBUG [Passthrough.handle] - To upstream:
10:28:42.272 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@3f7cdefb9 pairs: {POST /session/f4ae5fe98deb502da74c8883b4b81b9a/element/0.734820654653507-2/click HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:40557}{Content-Length: 0}
10:28:43.089 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@6f4a7b674 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
10:28:43.089 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"f4ae5fe98deb502da74c8883b4b81b9a","status":0,"value":null}
and here is safari
log from selenium
10:29:18.364 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.0', revision: '7c6e0b3'
10:29:18.365 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-09-20 10:29:18.447:INFO::main: Logging initialized @305ms to org.seleniumhq.jetty9.util.log.StdErrLog
10:29:18.605 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
10:29:29.178 DEBUG [WebDriverServlet.handle] - Found handler: org.openqa.selenium.remote.server.commandhandler.BeginSession@4a72125f
10:29:29.181 DEBUG [WebDriverServlet.lambda$handle$1] - /session: Executing POST on /session (handler: BeginSession)
10:29:29.254 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {browser: firefox, browserName: safari, ignoreZoomSetting: false, name: Behat feature suite, tags: [Wisnet-MacBook-Pro-2.local, PHP 7.1.16]}
10:29:29.256 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.safari.SafariDriverService)
10:29:30.460 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C
10:29:30.495 DEBUG [RemoteWebDriver.log] - Executing: newSession [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, browserName: Safari, browserVersion: 12.0, platformName: macOS, setWindowRect: true}}]
10:29:30.496 DEBUG [RemoteWebDriver.log] - Executed: [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, browserName: Safari, browserVersion: 12.0, platformName: macOS, setWindowRect: true}}]
10:29:30.501 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:29:31.518 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:29:31.519 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing POST on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C/url (handler: ServicedSession)
10:29:50.211 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":null}
10:29:50.216 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:29:50.216 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing GET on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C/url (handler: ServicedSession)
10:29:50.220 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":"https:\/\/twlwdev.wpengine.com\/"}
10:29:50.222 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:29:50.223 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing GET on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C/url (handler: ServicedSession)
10:29:50.227 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":"https:\/\/twlwdev.wpengine.com\/"}
10:29:51.231 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:29:51.231 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing POST on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C/window/current/maximize (handler: ServicedSession)
10:29:51.316 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":{"y":23,"x":1680,"width":1920,"height":1057}}
10:29:57.561 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:29:57.562 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing POST on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C/elements (handler: ServicedSession)
10:29:57.571 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":[{"element-6066-11e4-a52e-4f735466cecf":"node-C47CC1F9-24C0-44AE-BA34-F9D921FD4831"}]}
10:30:00.747 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:30:00.747 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing POST on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C/elements (handler: ServicedSession)
10:30:00.756 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":[{"element-6066-11e4-a52e-4f735466cecf":"node-3A31072D-7D2B-444E-BD15-106E952BA3DE"},{"element-6066-11e4-a52e-4f735466cecf":"node-AF90D745-A424-44BD-8772-88AC1A57EAC5"}]}
10:30:00.793 DEBUG [WebDriverServlet.handle] - Found handler: F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:30:00.794 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (Safari): Executing DELETE on /session/F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (handler: ServicedSession)
10:30:00.797 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":null}
10:30:00.800 INFO [ActiveSessions$1.onStop] - Removing session F6B6BB7A-B1CE-4AEE-9BF1-70B3CAF04C4C (org.openqa.selenium.safari.SafariDriverService)
10:30:00.809 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 404 and content: {"value":{"error":"invalid session id","message":"","stacktrace":""}}
10:30:00.809 DEBUG [W3CHttpResponseCodec.decode] - Processing an error
10:30:00.832 DEBUG [UrlChecker.waitUntilUnavailable] - Waiting for http://localhost:13896/shutdown
10:30:00.832 DEBUG [UrlChecker.lambda$waitUntilUnavailable$2] - Polling http://localhost:13896/shutdown
10:30:00.840 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@7c2c37715 pairs: {GET /shutdown HTTP/1.1: null}{User-Agent: Java/1.8.0_161}{Host: localhost:13896}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
10:30:00.847 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@392ea6908 pairs: {null: HTTP/1.1 404 Not Found}{Server: SafariDriver/1.0}{Content-Type: application/json; charset=utf-8}{Date: Thu, 20 Sep 2018 15:30:00 GMT}{Accept-Ranges: bytes}{Content-Length: 109}{Cache-Control: no-cache}{Connection: keep-alive}
More
link was searched. Are you sure you've posted correct output.Really try testing on a basic page and just issue single find
call.
Argh - you're right....sorry - i'll do that now
Ok, the page I am testing now is http://crossbrowsertesting.github.io/login-form.html and looking only for one element, the id=username
.
Here is the safari
- it fails with "username" element is not present on the page (SensioLabs\Behat\PageObjectExtension\PageObject\Exception\ElementNotFoundException)
11:22:20.696 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.0', revision: '7c6e0b3'
11:22:20.697 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-09-20 11:22:20.779:INFO::main: Logging initialized @306ms to org.seleniumhq.jetty9.util.log.StdErrLog
11:22:20.938 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
11:22:25.264 DEBUG [WebDriverServlet.handle] - Found handler: org.openqa.selenium.remote.server.commandhandler.BeginSession@3bf9c16d
11:22:25.268 DEBUG [WebDriverServlet.lambda$handle$1] - /session: Executing POST on /session (handler: BeginSession)
11:22:25.345 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {browser: firefox, browserName: safari, ignoreZoomSetting: false, name: Behat feature suite, tags: [Wisnet-MacBook-Pro-2.local, PHP 7.1.16]}
11:22:25.347 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.safari.SafariDriverService)
11:22:26.381 INFO [ProtocolHandshake.createSession] - Detected dialect: W3C
11:22:26.410 DEBUG [RemoteWebDriver.log] - Executing: newSession [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, browserName: Safari, browserVersion: 12.0, platformName: macOS, setWindowRect: true}}]
11:22:26.411 DEBUG [RemoteWebDriver.log] - Executed: [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, browserName: Safari, browserVersion: 12.0, platformName: macOS, setWindowRect: true}}]
11:22:26.415 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:27.430 DEBUG [WebDriverServlet.handle] - Found handler: C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:27.431 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session C78BE052-CD73-4667-A97A-B159A35C92E4 (Safari): Executing POST on /session/C78BE052-CD73-4667-A97A-B159A35C92E4/url (handler: ServicedSession)
11:22:27.863 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":null}
11:22:27.867 DEBUG [WebDriverServlet.handle] - Found handler: C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:27.867 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session C78BE052-CD73-4667-A97A-B159A35C92E4 (Safari): Executing GET on /session/C78BE052-CD73-4667-A97A-B159A35C92E4/url (handler: ServicedSession)
11:22:27.871 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":"http:\/\/crossbrowsertesting.github.io\/login-form.html"}
11:22:27.873 DEBUG [WebDriverServlet.handle] - Found handler: C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:27.874 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session C78BE052-CD73-4667-A97A-B159A35C92E4 (Safari): Executing GET on /session/C78BE052-CD73-4667-A97A-B159A35C92E4/url (handler: ServicedSession)
11:22:27.877 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":"http:\/\/crossbrowsertesting.github.io\/login-form.html"}
11:22:28.886 DEBUG [WebDriverServlet.handle] - Found handler: C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:28.886 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session C78BE052-CD73-4667-A97A-B159A35C92E4 (Safari): Executing POST on /session/C78BE052-CD73-4667-A97A-B159A35C92E4/window/current/maximize (handler: ServicedSession)
11:22:28.918 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":{"y":23,"x":1680,"width":1920,"height":1057}}
11:22:28.925 DEBUG [WebDriverServlet.handle] - Found handler: C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:28.925 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session C78BE052-CD73-4667-A97A-B159A35C92E4 (Safari): Executing POST on /session/C78BE052-CD73-4667-A97A-B159A35C92E4/elements (handler: ServicedSession)
11:22:28.936 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":[{"element-6066-11e4-a52e-4f735466cecf":"node-EBAA65C8-40BC-41B9-954F-A7C421E7FD1C"}]}
11:22:28.971 DEBUG [WebDriverServlet.handle] - Found handler: C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:28.972 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session C78BE052-CD73-4667-A97A-B159A35C92E4 (Safari): Executing DELETE on /session/C78BE052-CD73-4667-A97A-B159A35C92E4 (handler: ServicedSession)
11:22:28.976 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 200 and content: {"value":null}
11:22:28.980 INFO [ActiveSessions$1.onStop] - Removing session C78BE052-CD73-4667-A97A-B159A35C92E4 (org.openqa.selenium.safari.SafariDriverService)
11:22:28.986 DEBUG [W3CHttpResponseCodec.decode] - Decoding response. Response code was: 404 and content: {"value":{"error":"invalid session id","message":"","stacktrace":""}}
11:22:28.986 DEBUG [W3CHttpResponseCodec.decode] - Processing an error
11:22:29.007 DEBUG [UrlChecker.waitUntilUnavailable] - Waiting for http://localhost:22902/shutdown
11:22:29.008 DEBUG [UrlChecker.lambda$waitUntilUnavailable$2] - Polling http://localhost:22902/shutdown
11:22:29.014 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@495632415 pairs: {GET /shutdown HTTP/1.1: null}{User-Agent: Java/1.8.0_161}{Host: localhost:22902}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
11:22:29.017 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@c54b50f8 pairs: {null: HTTP/1.1 404 Not Found}{Server: SafariDriver/1.0}{Content-Type: application/json; charset=utf-8}{Date: Thu, 20 Sep 2018 16:22:29 GMT}{Accept-Ranges: bytes}{Content-Length: 109}{Cache-Control: no-cache}{Connection: keep-alive}
And here is the chrome
and it succeeds:
11:22:41.526 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.0', revision: '7c6e0b3'
11:22:41.527 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-09-20 11:22:41.610:INFO::main: Logging initialized @310ms to org.seleniumhq.jetty9.util.log.StdErrLog
11:22:41.768 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
11:22:52.783 DEBUG [WebDriverServlet.handle] - Found handler: org.openqa.selenium.remote.server.commandhandler.BeginSession@4552982
11:22:52.786 DEBUG [WebDriverServlet.lambda$handle$1] - /session: Executing POST on /session (handler: BeginSession)
11:22:52.859 INFO [ActiveSessionFactory.apply] - Capabilities are: Capabilities {browser: firefox, browserName: chrome, ignoreZoomSetting: false, name: Behat feature suite, tags: [Wisnet-MacBook-Pro-2.local, PHP 7.1.16]}
11:22:52.861 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider: org.openqa.selenium.chrome.ChromeDriverService)
11:22:52.894 DEBUG [UrlChecker.waitUntilAvailable] - Waiting for [http://localhost:11659/status]
11:22:52.895 DEBUG [UrlChecker.lambda$waitUntilAvailable$1] - Polling http://localhost:11659/status
Starting ChromeDriver 2.36.540469 (1881fd7f8641508feb5166b7cae561d87723cfa8) on port 11659
Only local connections are allowed.
11:22:52.913 DEBUG [UrlChecker.lambda$waitUntilAvailable$1] - Polling http://localhost:11659/status
11:22:52.934 DEBUG [UrlChecker.lambda$waitUntilAvailable$1] - Polling http://localhost:11659/status
11:22:52.938 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@142833ef5 pairs: {GET /status HTTP/1.1: null}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
11:22:52.942 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@512aaf0e3 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 126}{Content-Type: application/json; charset=utf-8}
11:22:53.837 INFO [ProtocolHandshake.createSession] - Detected dialect: OSS
11:22:53.851 DEBUG [RemoteWebDriver.log] - Executing: newSession [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.36.540469 (1881fd7f864150..., userDataDir: /var/folders/8w/4f5rtpzx61d...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}}]
11:22:53.852 DEBUG [RemoteWebDriver.log] - Executed: [null, newSession {desiredCapabilities=Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.36.540469 (1881fd7f864150..., userDataDir: /var/folders/8w/4f5rtpzx61d...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 69.0.3497.100, webStorageEnabled: true}}]
11:22:54.083 INFO [RemoteSession$Factory.lambda$performHandshake$0] - Started new session 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:55.099 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:55.100 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing POST on /session/0289a41d4e345ecabf0fec2614844214/url (handler: ServicedSession)
11:22:55.103 DEBUG [Passthrough.handle] - To upstream: {"url":"http:\/\/crossbrowsertesting.github.io\/login-form.html"}
11:22:55.103 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@6922a9ab9 pairs: {POST /session/0289a41d4e345ecabf0fec2614844214/url HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Content-Length: 65}
11:22:55.695 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@365ff7354 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:55.698 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":null}
11:22:55.700 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:55.700 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing GET on /session/0289a41d4e345ecabf0fec2614844214/url (handler: ServicedSession)
11:22:55.701 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@289a195c8 pairs: {GET /session/0289a41d4e345ecabf0fec2614844214/url HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}
11:22:55.706 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@1836d7e54 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 122}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:55.706 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":"http://crossbrowsertesting.github.io/login-form.html"}
11:22:55.708 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:55.709 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing GET on /session/0289a41d4e345ecabf0fec2614844214/url (handler: ServicedSession)
11:22:55.709 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@1f2b5ca8 pairs: {GET /session/0289a41d4e345ecabf0fec2614844214/url HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}
11:22:55.713 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@70800584 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 122}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:55.713 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":"http://crossbrowsertesting.github.io/login-form.html"}
11:22:56.718 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.719 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing POST on /session/0289a41d4e345ecabf0fec2614844214/window/current/maximize (handler: ServicedSession)
11:22:56.720 DEBUG [Passthrough.handle] - To upstream:
11:22:56.720 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@7fa0a91c9 pairs: {POST /session/0289a41d4e345ecabf0fec2614844214/window/current/maximize HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Content-Length: 0}
11:22:56.922 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@5107c0f24 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:56.923 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":null}
11:22:56.928 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.928 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing POST on /session/0289a41d4e345ecabf0fec2614844214/elements (handler: ServicedSession)
11:22:56.930 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/html\/\/*[@id='username']"}
11:22:56.930 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@454f63fd9 pairs: {POST /session/0289a41d4e345ecabf0fec2614844214/elements HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Content-Length: 57}
11:22:56.942 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@202b1cc4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 105}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:56.943 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":[{"ELEMENT":"0.47705738142541465-1"}]}
11:22:56.946 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.947 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing POST on /session/0289a41d4e345ecabf0fec2614844214/element (handler: ServicedSession)
11:22:56.948 DEBUG [Passthrough.handle] - To upstream: {"using":"xpath","value":"\/\/*[@id='username']"}
11:22:56.948 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@781000d99 pairs: {POST /session/0289a41d4e345ecabf0fec2614844214/element HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Content-Length: 49}
11:22:56.959 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@17ff5f794 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 103}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:56.960 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":{"ELEMENT":"0.47705738142541465-1"}}
11:22:56.961 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.961 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing GET on /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/name (handler: ServicedSession)
11:22:56.962 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@291196f08 pairs: {GET /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/name HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}
11:22:56.966 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@3e0acecf4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 75}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:56.966 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":"input"}
11:22:56.968 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.968 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing GET on /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/attribute/type (handler: ServicedSession)
11:22:56.969 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@46e4071f8 pairs: {GET /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/attribute/type HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}
11:22:56.973 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@2b8d9c2d4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 74}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:56.973 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":"text"}
11:22:56.975 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.975 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing GET on /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/attribute/value (handler: ServicedSession)
11:22:56.976 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@e8e29ba8 pairs: {GET /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/attribute/value HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}
11:22:56.980 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@661af2124 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 70}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:56.980 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":""}
11:22:56.982 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:56.982 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing POST on /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/value (handler: ServicedSession)
11:22:56.983 DEBUG [Passthrough.handle] - To upstream: {"value":["badusername@crossbrowsertesting.com\ue004"]}
11:22:56.983 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@a0dd319 pairs: {POST /session/0289a41d4e345ecabf0fec2614844214/element/0.47705738142541465-1/value HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json; charset=utf-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Content-Length: 55}
11:22:57.123 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@478b45fc4 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:57.123 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":null}
11:22:57.152 DEBUG [WebDriverServlet.handle] - Found handler: 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:57.153 DEBUG [WebDriverServlet.lambda$handle$1] - Handler thread for session 0289a41d4e345ecabf0fec2614844214 (chrome): Executing DELETE on /session/0289a41d4e345ecabf0fec2614844214 (handler: ServicedSession)
11:22:57.153 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@38b7774e8 pairs: {DELETE /session/0289a41d4e345ecabf0fec2614844214 HTTP/1.1: null}{Accept: application/json;charset=UTF-8}{Content-Type: application/json;charset=UTF-8}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}
11:22:57.205 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@98c88284 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 72}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:57.206 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"0289a41d4e345ecabf0fec2614844214","status":0,"value":null}
11:22:57.209 INFO [ActiveSessions$1.onStop] - Removing session 0289a41d4e345ecabf0fec2614844214 (org.openqa.selenium.chrome.ChromeDriverService)
11:22:57.211 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@51bd782f7 pairs: {DELETE /session/0289a41d4e345ecabf0fec2614844214 HTTP/1.1: null}{Connection: close}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}
11:22:57.221 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@112eb5c44 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 40}{Content-Type: application/json; charset=utf-8}{Connection: close}
11:22:57.222 DEBUG [Passthrough.handle] - To downstream: {"sessionId":"","status":0,"value":null}
11:22:57.222 DEBUG [UrlChecker.waitUntilUnavailable] - Waiting for http://localhost:11659/shutdown
11:22:57.223 DEBUG [UrlChecker.lambda$waitUntilUnavailable$2] - Polling http://localhost:11659/shutdown
11:22:57.223 DEBUG [HttpURLConnection.writeRequests] - sun.net.www.MessageHeader@60b13b985 pairs: {GET /shutdown HTTP/1.1: null}{User-Agent: Java/1.8.0_161}{Host: localhost:11659}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
11:22:57.223 DEBUG [HttpURLConnection.getInputStream0] - sun.net.www.MessageHeader@35d3cb2a3 pairs: {null: HTTP/1.1 200 OK}{Content-Length: 40}{Content-Type: application/json; charset=utf-8}
11:22:57.236 DEBUG [UrlChecker.lambda$waitUntilUnavailable$2] - Polling http://localhost:11659/shutdown
https://developer.apple.com/documentation/webkit/macos_webdriver_commands_for_safari_12_and_later says that the Safari driver implements the W3C protocol. The PHP webdriver library we use is not yet compatible with the W3C protocol (which is not exactly the same than the older JsonWire protocol, as some changes were made during the standardization process)
When I do
qanoerr-example (master) $ safaridriver --help
Usage: safaridriver [options]
-h, --help Prints out this usage information.
-p, --port Port number the driver should use. If the server
is already running, the port cannot be changed.
If port 0 is specified, a default port will be used.
--enable Applies configuration changes so that subsequent WebDriver
sessions will run without further authentication.
--w3c Use the standards-compliant W3C WebDriver protocol (default).
--legacy Use the legacy Selenium WebDriver protocol.
qanoerr-example (master) $
I see there is the --legacy
- is there a way to force safaridriver
to use legacy
as a workaround?
Well, you could run safaridriver directly instead of using the selenium-server hub (as you probably don't need the hub). this is probably the easiest way to control this setting. I don't know whether the Selenium grid server allows to configure CLI flags used when launching browser drivers.
To run the browser driver directly as the selenium server, things are as easy as running it (safaridriver --legacy --port 4444
) and changing your Mink config to connect to http://127.0.0.1:4444
instead of http://127.0.0.1:4444/wd/hub
(the grid server exposes the Webdriver protocol on /wd/hub
due to support for the older Selenium API, but browser drivers are exposing it at the root of their server)
I will not be able to look at this until Monday. Thanks for your help @stof & @aik099
That works! Many Thanks @stof & @aik099 !!!
in
vendor/behat/mink/src/Element/Element.php:167
, when I run w/Chrome
I see this interaction working fine:But when I run the same with
Safari
, I see this:And if I use the
developer console
in Safari,I'm not sure this is the right place for this issue. Please advise how to debug further.