david-dick / firefox-marionette

This is a client module to automate the Mozilla Firefox browser via the Marionette protocol
https://metacpan.org/dist/Firefox-Marionette
Other
12 stars 3 forks source link

Installation of version 1.34 fails on macOS w/Firefox 108.0.1 #19

Closed toreau closed 1 year ago

toreau commented 1 year ago
Running make test for DDICK/Firefox-Marionette-1.34.tar.gz
PERL_DL_NONLAZY=1 "/usr/local/Cellar/perl/5.36.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load.t ........ 1/1 # Testing Firefox::Marionette 1.34
t/00.load.t ........ ok   
t/01-marionette.t .. # Version is Mozilla Firefox 108.0.1
t/01-marionette.t .. 1/? # This firefox installation has 2 existing profiles
'/usr/local/Cellar/perl/5.36.0/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 605.
'/usr/local/Cellar/perl/5.36.0/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 605.
'/usr/local/Cellar/perl/5.36.0/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 605.
'/usr/local/Cellar/perl/5.36.0/bin/perl --version' did not produce output that could be parsed.  Assuming modern Marionette is available at t/01-marionette.t line 605.
t/01-marionette.t .. 6/? # Initial tests
# Testing has been running for 1 seconds at t/01-marionette.t line 714
** /Applications/Firefox.app/Contents/MacOS/firefox -marionette -safe-mode -headless -profile /var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_o8qmbVyXudq/profile --no-remote --new-instance
*** You are running in headless mode.
2023-01-07 07:29:01.140 plugin-container[12897:98823036] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:01.140 plugin-container[12897:98823036] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:01.160 plugin-container[12897:98823036] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:01.160 plugin-container[12897:98823036] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:01.160 plugin-container[12897:98823058] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:01.160 plugin-container[12897:98823058] nil host used in call to allowsAnyHTTPSCertificateForHost:
<< 50:{"applicationType":"gecko","marionetteProtocol":3}
>> 73:[0,1,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{}}}]
<< 748:[1,1,null,{"sessionId":"b5543222-a1e7-48c0-87cd-f5dd0e173bcf","capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12894,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_o8qmbVyXudq/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
t/01-marionette.t .. 18/? >> 33:[0,2,"WebDriver:GetCapabilities"]
<< 697:[1,2,null,{"capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12894,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_o8qmbVyXudq/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
# Browser version is 108.0.1
# Operating System is mac 21.6.0
# Profile Directory is /var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_o8qmbVyXudq/profile
# Mozilla PID is 12894
# Firefox BuildID is 20221215175817
# Addons are disabled
# No update checks for darwin
>> 32:[0,3,"Marionette:GetWindowType"]
<< 40:[1,3,null,{"value":"navigator:browser"}]
>> 31:[0,4,"WebDriver:GetWindowRect"]
<< 50:[1,4,null,{"x":4,"y":4,"width":1366,"height":768}]
>> 71:[0,5,"WebDriver:SetWindowRect",{"height":452,"width":326,"x":3,"y":23}]
<< 50:[1,5,null,{"x":3,"y":23,"width":450,"height":452}]
t/01-marionette.t .. 31/? >> 31:[0,6,"WebDriver:GetWindowRect"]
<< 50:[1,6,null,{"x":3,"y":23,"width":450,"height":452}]
>> 31:[0,7,"WebDriver:GetWindowRect"]
<< 50:[1,7,null,{"x":3,"y":23,"width":450,"height":452}]
>> 29:[0,8,"WebDriver:GetTimeouts"]
<< 58:[1,8,null,{"implicit":0,"pageLoad":300000,"script":30000}]
>> 80:[0,9,"WebDriver:SetTimeouts",{"implicit":41001,"pageLoad":45043,"script":48021}]
<< 25:[1,9,null,{"value":null}]
>> 30:[0,10,"WebDriver:GetTimeouts"]
<< 62:[1,10,null,{"implicit":41001,"pageLoad":45043,"script":48021}]
>> 30:[0,11,"WebDriver:GetTimeouts"]
<< 62:[1,11,null,{"implicit":41001,"pageLoad":45043,"script":48021}]
>> 81:[0,12,"WebDriver:SetTimeouts",{"implicit":41001,"pageLoad":45043,"script":48021}]
<< 26:[1,12,null,{"value":null}]
>> 87:[0,13,"WebDriver:ExecuteScript",{"script":"window.open(\"about:blank\", \"_blank\");"}]
<< 26:[1,13,null,{"value":null}]
>> 30:[0,14,"WebDriver:CloseWindow"]
<< 52:[1,14,null,["7c747e8f-83f0-4e37-99d6-a360f4763038"]]
>> 32:[0,15,"WebDriver:DeleteSession"]
<< 26:[1,15,null,{"value":null}]
>> 74:[0,16,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{}}}]
<< 749:[1,16,null,{"sessionId":"5bde13dc-842a-4c60-b103-837e8098f627","capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12894,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_o8qmbVyXudq/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
>> 51:[0,17,"Marionette:Quit",{"flags":["eAttemptQuit"]}]
<< 61:[1,17,null,{"cause":"shutdown","forced":false,"in_app":true}]
t/01-marionette.t .. 57/? # Starting new firefox for testing capabilities and accessing proxies
# Using proxy port TCP/60338
# Using SOCKS port TCP/60339
# Testing has been running for 5 seconds at t/01-marionette.t line 1093
t/01-marionette.t .. 68/? # Testing has been running for 7 seconds at t/01-marionette.t line 1171
# Testing has been running for 7 seconds at t/01-marionette.t line 1201
t/01-marionette.t .. 92/? # Starting new firefox for testing proxies with proxy port TCP/60359
# Testing has been running for 10 seconds at t/01-marionette.t line 1294
** /Applications/Firefox.app/Contents/MacOS/firefox -marionette -MOZ_LOG=timestamp,cookie:2 -safe-mode -headless -profile /var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_JzQlkMGRYaZ/profile --no-remote --new-instance --devtools
*** You are running in headless mode.
2023-01-07 07:29:09.429 plugin-container[12916:98823602] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:09.429 plugin-container[12916:98823602] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:09.432 plugin-container[12916:98823602] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:09.432 plugin-container[12916:98823602] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:09.432 plugin-container[12916:98823600] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:09.432 plugin-container[12916:98823600] nil host used in call to allowsAnyHTTPSCertificateForHost:
<< 50:{"applicationType":"gecko","marionetteProtocol":3}
>> 220:[0,1,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{"proxy":{"proxyAutoconfigUrl":"http://localhost:60359","proxyType":"pac"}}},"proxy":{"proxyAutoconfigUrl":"http://localhost:60359","proxyType":"pac"}}]
2023-01-07 06:29:10.329583 UTC - [Parent 12915: Main Thread]: W/cookie ===== COOKIE NOT SENT =====
2023-01-07 06:29:10.329599 UTC - [Parent 12915: Main Thread]: W/cookie request URL: http://localhost:60359/
2023-01-07 06:29:10.329630 UTC - [Parent 12915: Main Thread]: W/cookie current time: Sat Jan 07 06:29:10 2023 GMT
2023-01-07 06:29:10.329633 UTC - [Parent 12915: Main Thread]: W/cookie rejected because cookies are disabled
2023-01-07 06:29:10.329634 UTC - [Parent 12915: Main Thread]: W/cookie 
<< 927:[1,1,null,{"sessionId":"4888a234-9702-485e-add4-af2c6ada7c35","capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","proxy":{"proxyType":"pac","proxyAutoconfigUrl":"http://localhost:60359"},"setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12915,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_JzQlkMGRYaZ/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"capabilities":{"requiredCapabilities":{"proxy":{"proxyAutoconfigUrl":"http://localhost:60359","proxyType":"pac"}}}}}]
>> 29:[0,2,"WebDriver:GetTimeouts"]
<< 58:[1,2,null,{"implicit":0,"pageLoad":300000,"script":30000}]
>> 76:[0,3,"WebDriver:SetTimeouts",{"implicit":0,"pageLoad":65432,"script":30000}]
<< 25:[1,3,null,{"value":null}]
t/01-marionette.t .. 93/? >> 33:[0,4,"WebDriver:GetCapabilities"]
<< 875:[1,4,null,{"capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","proxy":{"proxyType":"pac","proxyAutoconfigUrl":"http://localhost:60359"},"setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":65432,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12915,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_JzQlkMGRYaZ/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"capabilities":{"requiredCapabilities":{"proxy":{"proxyAutoconfigUrl":"http://localhost:60359","proxyType":"pac"}}}}}]
>> 50:[0,5,"Marionette:Quit",{"flags":["eAttemptQuit"]}]
<< 60:[1,5,null,{"cause":"shutdown","forced":false,"in_app":true}]
t/01-marionette.t .. 98/? # Starting new firefox for testing proxies again using proxy port TCP/60371
# Testing has been running for 14 seconds at t/01-marionette.t line 1323
** /Applications/Firefox.app/Contents/MacOS/firefox -marionette -safe-mode -profile /var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_48bZCosv_9L/profile --no-remote --new-instance
2023-01-07 07:29:13.488 plugin-container[12926:98823885] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:13.489 plugin-container[12926:98823885] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:13.491 plugin-container[12926:98823885] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:13.491 plugin-container[12926:98823885] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:13.491 plugin-container[12926:98823890] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:13.491 plugin-container[12926:98823890] nil host used in call to allowsAnyHTTPSCertificateForHost:
<< 50:{"applicationType":"gecko","marionetteProtocol":3}
>> 252:[0,1,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{"proxy":{"httpProxy":"localhost:60371","proxyType":"manual","sslProxy":"localhost:60371"}}},"proxy":{"httpProxy":"localhost:60371","proxyType":"manual","sslProxy":"localhost:60371"}}]
<< 960:[1,1,null,{"sessionId":"c7234137-3d7f-44a0-9550-73c6b22d7320","capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","proxy":{"proxyType":"manual","httpProxy":"localhost:60371","sslProxy":"localhost:60371"},"setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":false,"moz:platformVersion":"21.6.0","moz:processID":12925,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_48bZCosv_9L/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"capabilities":{"requiredCapabilities":{"proxy":{"httpProxy":"localhost:60371","proxyType":"manual","sslProxy":"localhost:60371"}}}}}]
t/01-marionette.t .. 99/? >> 33:[0,2,"WebDriver:GetCapabilities"]
<< 909:[1,2,null,{"capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","proxy":{"proxyType":"manual","httpProxy":"localhost:60371","sslProxy":"localhost:60371"},"setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":false,"moz:platformVersion":"21.6.0","moz:processID":12925,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_48bZCosv_9L/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"capabilities":{"requiredCapabilities":{"proxy":{"httpProxy":"localhost:60371","proxyType":"manual","sslProxy":"localhost:60371"}}}}}]
>> 50:[0,3,"Marionette:Quit",{"flags":["eAttemptQuit"]}]
<< 60:[1,3,null,{"cause":"shutdown","forced":false,"in_app":true}]
t/01-marionette.t .. 104/? # Starting new firefox for testing PDFs and script elements
# Testing has been running for 18 seconds at t/01-marionette.t line 1369
t/01-marionette.t .. 105/? # WebGL is disabled by default when visible and addons are turned off
# Starting new firefox for testing logins
# Testing has been running for 19 seconds at t/01-marionette.t line 1586
t/01-marionette.t .. 130/? # WebGL appears to be enabled in headless mode (with addons => 1)
# Testing has been running for 22 seconds at t/01-marionette.t line 1638
# Starting new firefox for testing custom headers
# Testing has been running for 22 seconds at t/01-marionette.t line 1971
t/01-marionette.t .. 155/? # Starting new firefox for testing metacpan and iframe, with find, downloads, extensions and actions
# Testing has been running for 25 seconds at t/01-marionette.t line 2083
t/01-marionette.t .. 160/? **** DEPRECATED METHOD - using chrome_window_handle() HAS BEEN REPLACED BY window_handle() wrapped with appropriate context() calls **** at t/01-marionette.t line 2093.
t/01-marionette.t .. 161/? # Testing has been running for 28 seconds at t/01-marionette.t line 2109
**** DEPRECATED METHOD - using chrome_window_handle() HAS BEEN REPLACED BY window_handle() wrapped with appropriate context() calls **** at t/01-marionette.t line 2138.
**** DEPRECATED METHOD - using current_chrome_window_handle() HAS BEEN REPLACED BY window_handle() wrapped with appropriate context() calls **** at t/01-marionette.t line 2138.
**** DEPRECATED METHOD - using chrome_window_handles() HAS BEEN REPLACED BY window_handles() wrapped with appropriate context() calls **** at t/01-marionette.t line 2140.
**** DEPRECATED METHOD - using chrome_window_handles() HAS BEEN REPLACED BY window_handles() wrapped with appropriate context() calls **** at t/01-marionette.t line 2149.
**** DEPRECATED METHOD - using chrome_window_handles() HAS BEEN REPLACED BY window_handles() wrapped with appropriate context() calls **** at t/01-marionette.t line 2150.
**** DEPRECATED METHOD - using chrome_window_handles() HAS BEEN REPLACED BY window_handles() wrapped with appropriate context() calls **** at t/01-marionette.t line 2174.
**** DEPRECATED METHOD - using chrome_window_handles() HAS BEEN REPLACED BY window_handles() wrapped with appropriate context() calls **** at t/01-marionette.t line 2175.
# Switch to shadow root is broken:unknown command: WebDriver:SwitchToShadowRoot
**** DEPRECATED METHOD - list HAS BEEN REPLACED BY find **** at t/01-marionette.t line 2234.
# $firefox->active_frame is not supported for 108.0.1:unknown command: WebDriver:GetActiveFrame
# Starting new firefox for testing JSON from localhost and alerts
# Testing has been running for 28 seconds at t/01-marionette.t line 3336
** /Applications/Firefox.app/Contents/MacOS/firefox -marionette -safe-mode -headless -profile /var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_yVrsom6ru3r/profile --no-remote --new-instance
*** You are running in headless mode.
2023-01-07 07:29:27.589 plugin-container[12976:98825368] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:27.589 plugin-container[12976:98825368] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:27.592 plugin-container[12976:98825368] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:27.592 plugin-container[12976:98825368] nil host used in call to allowsAnyHTTPSCertificateForHost:
2023-01-07 07:29:27.592 plugin-container[12976:98825390] nil host used in call to allowsSpecificHTTPSCertificateForHost
2023-01-07 07:29:27.592 plugin-container[12976:98825390] nil host used in call to allowsAnyHTTPSCertificateForHost:
<< 50:{"applicationType":"gecko","marionetteProtocol":3}
>> 73:[0,1,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{}}}]
<< 748:[1,1,null,{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3","capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12975,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_yVrsom6ru3r/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
>> 29:[0,2,"WebDriver:GetTimeouts"]
<< 58:[1,2,null,{"implicit":0,"pageLoad":300000,"script":30000}]
>> 82:[0,3,"WebDriver:SetTimeouts",{"implicit":987654,"pageLoad":300000,"script":30000}]
<< 25:[1,3,null,{"value":null}]
t/01-marionette.t .. 412/? >> 33:[0,4,"WebDriver:GetCapabilities"]
<< 702:[1,4,null,{"capabilities":{"browserName":"firefox","browserVersion":"108.0.1","platformName":"mac","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":987654,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221215175817","moz:headless":true,"moz:platformVersion":"21.6.0","moz:processID":12975,"moz:profile":"/var/folders/fg/9_qz5v5j3zz26b89h228s4qr0000gn/T/firefox_marionette_local_yVrsom6ru3r/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
>> 119:[0,5,"WebDriver:Navigate",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3","url":"http://[::1]:60491/?format=JSON"}]
# Accepted connection
# Got request for /?format=JSON
<< 25:[1,5,null,{"value":null}]
>> 84:[0,6,"WebDriver:GetPageSource",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3"}]
<< 195:[1,6,null,{"value":"<html><head><link rel=\"stylesheet\" href=\"resource://content-accessible/plaintext.css\"></head><body><pre>{ \"id\": \"5\", \"value\": \"sömething\"}</pre></body></html>"}]
>> 84:[0,7,"WebDriver:GetPageSource",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3"}]
<< 195:[1,7,null,{"value":"<html><head><link rel=\"stylesheet\" href=\"resource://content-accessible/plaintext.css\"></head><body><pre>{ \"id\": \"5\", \"value\": \"sömething\"}</pre></body></html>"}]
# { "id": "5", "value": "sömething"}
>> 84:[0,8,"WebDriver:GetPageSource",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3"}]
<< 195:[1,8,null,{"value":"<html><head><link rel=\"stylesheet\" href=\"resource://content-accessible/plaintext.css\"></head><body><pre>{ \"id\": \"5\", \"value\": \"sömething\"}</pre></body></html>"}]
>> 84:[0,9,"WebDriver:GetPageSource",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3"}]
<< 195:[1,9,null,{"value":"<html><head><link rel=\"stylesheet\" href=\"resource://content-accessible/plaintext.css\"></head><body><pre>{ \"id\": \"5\", \"value\": \"sömething\"}</pre></body></html>"}]
>> 119:[0,10,"WebDriver:Navigate",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3","url":"http://[::1]:60491/?format=txt"}]
# Accepted connection
# Got request for /?format=txt
<< 26:[1,10,null,{"value":null}]
>> 85:[0,11,"WebDriver:GetPageSource",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3"}]
<< 173:[1,11,null,{"value":"<html><head><link rel=\"stylesheet\" href=\"resource://content-accessible/plaintext.css\"></head><body><pre>This is ordinary text</pre></body></html>"}]
>> 85:[0,12,"WebDriver:GetPageSource",{"sessionId":"5fe5242c-0ab5-45e2-bc2c-bceead891ed3"}]
<< 173:[1,12,null,{"value":"<html><head><link rel=\"stylesheet\" href=\"resource://content-accessible/plaintext.css\"></head><body><pre>This is ordinary text</pre></body></html>"}]
# This is ordinary text
# Caught exception in content server:Caught a TERM signal at t/01-marionette.t line 94.
>> 68:[0,13,"WebDriver:ExecuteScript",{"script":"alert('testing alert')"}]
<< 26:[1,13,null,{"value":null}]
>> 31:[0,14,"WebDriver:GetAlertText"]
<< 37:[1,14,null,{"value":"testing alert"}]
t/01-marionette.t .. 420/? >> 31:[0,15,"WebDriver:DismissAlert"]
<< 26:[1,15,null,{"value":null}]
>> 101:[0,16,"WebDriver:ExecuteAsyncScript",{"script":"prompt(\"Please enter your name\", \"John Cole\");"}]
>> 60:[0,17,"WebDriver:SendAlertText",{"text":"Roland Grelewicz"}]
<< 843:[1,17,{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:182:5\nNoSuchAlertError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:383:5\nGeckoDriver.prototype._checkIfAlertIsPresent@chrome://remote/content/marionette/driver.sys.mjs:2666:11\nGeckoDriver.prototype.sendKeysToDialog@chrome://remote/content/marionette/driver.sys.mjs:2642:8\ndespatch@chrome://remote/content/marionette/server.sys.mjs:303:40\nexecute@chrome://remote/content/marionette/server.sys.mjs:276:16\nonPacket/<@chrome://remote/content/marionette/server.sys.mjs:249:20\nonPacket@chrome://remote/content/marionette/server.sys.mjs:250:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:496:20\n"},null]
>> 60:[0,18,"WebDriver:SendAlertText",{"text":"Roland Grelewicz"}]
<< 843:[1,18,{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:182:5\nNoSuchAlertError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:383:5\nGeckoDriver.prototype._checkIfAlertIsPresent@chrome://remote/content/marionette/driver.sys.mjs:2666:11\nGeckoDriver.prototype.sendKeysToDialog@chrome://remote/content/marionette/driver.sys.mjs:2642:8\ndespatch@chrome://remote/content/marionette/server.sys.mjs:303:40\nexecute@chrome://remote/content/marionette/server.sys.mjs:276:16\nonPacket/<@chrome://remote/content/marionette/server.sys.mjs:249:20\nonPacket@chrome://remote/content/marionette/server.sys.mjs:250:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:496:20\n"},null]
>> 60:[0,19,"WebDriver:SendAlertText",{"text":"Roland Grelewicz"}]
<< 843:[1,19,{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:182:5\nNoSuchAlertError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:383:5\nGeckoDriver.prototype._checkIfAlertIsPresent@chrome://remote/content/marionette/driver.sys.mjs:2666:11\nGeckoDriver.prototype.sendKeysToDialog@chrome://remote/content/marionette/driver.sys.mjs:2642:8\ndespatch@chrome://remote/content/marionette/server.sys.mjs:303:40\nexecute@chrome://remote/content/marionette/server.sys.mjs:276:16\nonPacket/<@chrome://remote/content/marionette/server.sys.mjs:249:20\nonPacket@chrome://remote/content/marionette/server.sys.mjs:250:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:496:20\n"},null]
>> 60:[0,20,"WebDriver:SendAlertText",{"text":"Roland Grelewicz"}]
<< 26:[1,16,null,{"value":null}]
<< 26:[1,20,null,{"value":null}]
**** DEPRECATED METHOD - using accept_dialog() HAS BEEN REPLACED BY accept_alert **** at t/01-marionette.t line 3461.
>> 31:[0,21,"WebDriver:AcceptDialog"]
<< 26:[1,21,null,{"value":null}]
>> 51:[0,22,"Marionette:Quit",{"flags":["eAttemptQuit"]}]
<< 61:[1,22,null,{"cause":"shutdown","forced":false,"in_app":true}]
t/01-marionette.t .. 425/? # Starting new firefox for testing proxy by argument, capabilities, window switching and certificates using proxy port TCP/60494
# Testing has been running for 33 seconds at t/01-marionette.t line 3623
t/01-marionette.t .. 659/? # Starting new firefox for testing %ENV proxy, min/maxing and killing firefox
# Testing has been running for 37 seconds at t/01-marionette.t line 3890
t/01-marionette.t .. 660/? # Final Browser version is 108.0.1
# WebGL (webgl2) is working correctly for 108.0.1 on darwin
t/01-marionette.t .. 1067/? 
#   Failed test 'Percentage visible is 100% for the username field:95.4545454545455'
#   at t/01-marionette.t line 4072.
# Killing PID 13002 with a signal 15
t/01-marionette.t .. 1080/? # Error Message was Firefox killed by a TERM signal (15)
# Total runtime is 46 seconds
# Looks like you failed 1 test of 1088.
t/01-marionette.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1088 subtests 
    (less 248 skipped subtests: 839 okay)
    (7 TODO tests unexpectedly succeeded)
t/02-taint.t ....... # Unable to exec firefox with PATH set to /usr/bin:/bin:/usr/local/bin.  No taint checks to be run
t/02-taint.t ....... ok   
t/manifest.t ....... skipped: Author tests not required for installation
t/pod-coverage.t ... ok     
t/pod.t ............ ok     

Test Summary Report
-------------------
t/01-marionette.t (Wstat: 256 (exited 1) Tests: 1088 Failed: 1)
  Failed test:  1079
  TODO passed:   37, 651, 661-662, 669-671
  Non-zero exit status: 1
Files=6, Tests=1151, 47 wallclock secs ( 0.09 usr  0.02 sys + 34.60 cusr  8.93 csys = 43.64 CPU)
Result: FAIL
Failed 1/6 test programs. 1/1151 subtests failed.
make: *** [test_dynamic] Error 255
  DDICK/Firefox-Marionette-1.34.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DDICK/Firefox-Marionette-1.34.tar.gz
david-dick commented 1 year ago

Hmmmmm..... that is interesting... I suspect some sort of addon/extension is causing an issue there. Could you try applying this patch visible_checks_in_safe_mode.txt and see if the test suite now passes? (I had to upload the patch as a txt file as I couldn't persuade github that the file was a patch file).

david-dick commented 1 year ago

Could you try out the new 1.35 version and see if the test suite passes now?

toreau commented 1 year ago

No. It still fails.

david-dick commented 1 year ago

Okay, so the problem is I have a matching (or very close) environment being run on github, and it passes. I need to find what the difference is between your platform and the github platform. Could you copy this script into the base directory of the Firefox::Marionette package and run it? It should load the same html page (t/data/visible.html) that the test does, but it will pause after loading the page. I would like to see a screenshot of what the firefox looks like when it reports that the input box is only %95 visible.

david-dick commented 1 year ago

Got any time to help diagnose this?

david-dick commented 1 year ago

just a ping on this one.

david-dick commented 1 year ago

Hope all is well. Feel free to re-open this ticket when you get some time to help find out what is different on your platform.