selenium icon indicating copy to clipboard operation
selenium copied to clipboard

[🐛 Bug]: using fill_in for a password input field with value "test" invokes a file uploader

Open LeEnno opened this issue 1 month ago â€ĸ 7 comments

Description

When I want to fill in a password input field with the value "test" I get the following error: Selenium::WebDriver::Error::WebDriverError: You are trying to upload something that isn't a file.

I'm not the only one facing the issue, see #13575 or this blog entry.

Reproducible Code

fill_in 'my_input[password]', with: 'test'

â„šī¸ Last known working version: 4.10.0

LeEnno avatar Nov 25 '25 09:11 LeEnno

âš ī¸ You reported using Selenium version 4.32.0, but the latest release is 4.38.

Please verify that this issue still occurs with the latest version. If it no longer applies, you can close this issue or update your comment.

This issue will be marked "awaiting answer" and may be closed automatically if no response is received.

github-actions[bot] avatar Nov 25 '25 09:11 github-actions[bot]

@LeEnno, thank you for creating this issue. We will troubleshoot it as soon as we can.

Selenium Triage Team: remember to follow the Triage Guide

selenium-ci avatar Nov 25 '25 09:11 selenium-ci

Please verify that this issue still occurs with the latest version.

We use ruby 3.1. where 4.32.0 is the most recent version.

LeEnno avatar Nov 25 '25 10:11 LeEnno

Can you enable logging, and post the log along with a full stacktrace?

That error only occurs if you try to upload something that's not a file? https://github.com/SeleniumHQ/selenium/blame/0c17ff17f1fe2624750d84b401c2370aefed3119/rb/lib/selenium/webdriver/remote/features.rb#L43

cgoldberg avatar Nov 25 '25 13:11 cgoldberg

We need more information about this issue in order to troubleshoot.

Please turn on logging and re-run your code. Information on how to adjust logs for your language can be found in our Troubleshooting documentation.

selenium-ci avatar Nov 25 '25 13:11 selenium-ci

My testfile:

# frozen_string_literal: true

require 'test_helper'

module Landingpage
  class LoginTest < ApplicationSystemTestCase
    test 'can fill password' do
      logger        = Selenium::WebDriver.logger
      logger.level  = :debug
      logger.output = '/myapp/log/selenium.log'
      visit "#{root_path}users/sign_in/"
      fill_in 'user[password]', with: 'test'
    end
  end
end

The error I get:

Error:
Landingpage::LoginTest#test_can_fill_password:
Selenium::WebDriver::Error::WebDriverError: You are trying to upload something that isn't a file.
    test/system/landingpage/login_test.rb:12:in `block in <class:LoginTest>'

Logger Output:

# Logfile created on 2025-11-26 11:46:29 +0100 by logger.rb/v1.7.0
2025-11-26 11:46:29 INFO Selenium [:logger_info] Details on how to use and modify Selenium logger:
  https://selenium.dev/documentation/webdriver/troubleshooting/logging

2025-11-26 11:46:29 DEBUG Selenium [:command] -> POST session 
2025-11-26 11:46:29 DEBUG Selenium [:command]    >>> http://selenium:4444/session | {"capabilities":{"alwaysMatch":{"browserName":"chrome","goog:chromeOptions":{"args":["--window-size=1400,1400"]}}}} 
2025-11-26 11:46:29 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"115"} 
2025-11-26 11:46:30 DEBUG Selenium [:header]    <<<  {"content-length"=>["1712"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:30 DEBUG Selenium [:command] <- {
  "value": {
    "sessionId": "e2fc547e4689ccf8227f00acba0de375",
    "capabilities": {
      "acceptInsecureCerts": false,
      "browserName": "chrome",
      "browserVersion": "142.0.7444.59",
      "chrome": {
        "chromedriverVersion": "142.0.7444.59 (4b8153ab58d3c3f4c9f7e4baad9616ecf80db5fa-refs\u002fbranch-heads\u002f7444_52@{#4})",
        "userDataDir": "\u002ftmp\u002f.org.chromium.Chromium.scoped_dir.Zy3FEM"
      },
      "fedcm:accounts": true,
      "goog:chromeOptions": {
        "debuggerAddress": "localhost:44519"
      },
      "goog:processID": 413,
      "networkConnectionEnabled": false,
      "pageLoadStrategy": "normal",
      "platformName": "linux",
      "proxy": {
      },
      "se:bidiEnabled": false,
      "se:cdp": "ws:\u002f\u002f172.18.0.4:4444\u002fsession\u002fe2fc547e4689ccf8227f00acba0de375\u002fse\u002fcdp",
      "se:cdpVersion": "142.0.7444.59",
      "se:containerName": "08e58c257080",
      "se:deleteSessionOnUi": true,
      "se:downloadsEnabled": true,
      "se:noVncPort": 7900,
      "se:vnc": "ws:\u002f\u002f172.18.0.4:4444\u002fsession\u002fe2fc547e4689ccf8227f00acba0de375\u002fse\u002fvnc",
      "se:vncEnabled": true,
      "se:vncLocalAddress": "ws:\u002f\u002f172.18.0.4:7900",
      "setWindowRect": true,
      "strictFileInteractability": false,
      "timeouts": {
        "implicit": 0,
        "pageLoad": 300000,
        "script": 30000
      },
      "unhandledPromptBehavior": "dismiss and notify",
      "webauthn:extension:credBlob": true,
      "webauthn:extension:largeBlob": true,
      "webauthn:extension:minPinLength": true,
      "webauthn:extension:prf": true,
      "webauthn:virtualAuthenticators": true
    }
  }
} 
2025-11-26 11:46:30 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/url 
2025-11-26 11:46:30 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/url | {"url":"http://pictrs:3001/users/sign_in/"} 
2025-11-26 11:46:30 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"43"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["14"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":null} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/elements 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/elements | {"using":"xpath","value":".//*[(local-name(.) = 'turbo-cable-stream-source')][not(./@connected)]"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"98"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["12"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":[]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> GET session/e2fc547e4689ccf8227f00acba0de375/url 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["45"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":"http://pictrs:3001/users/sign_in/"} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> GET session/e2fc547e4689ccf8227f00acba0de375/title 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["52"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":"Einloggen bei Pictrs | Pictrs Shopsystem"} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/elements 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/elements | {"using":"xpath","value":"./descendant::*[self::input | self::textarea][not(((((((./@type = 'submit') or (./@type = 'image')) or (./@type = 'radio')) or (./@type = 'checkbox')) or (./@type = 'hidden')) or (./@type = 'file')))][((((./@id = 'user[password]') or (./@name = 'user[password]')) or (./@placeholder = 'user[password]')) or (./@id = //label[(normalize-space(string(.)) = 'user[password]')]/@for))] | .//label[(normalize-space(string(.)) = 'user[password]')]//./descendant::*[self::input | self::textarea][not(((((((./@type = 'submit') or (./@type = 'image')) or (./@type = 'radio')) or (./@type = 'checkbox')) or (./@type = 'hidden')) or (./@type = 'file')))]"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"670"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["127"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":[{"element-6066-11e4-a52e-4f735466cecf":"f.53B26804A39BACE350853E89767D62CF.d.0BF099876D7290FADA8AC21FCF138586.e.3"}]} 
2025-11-26 11:46:31 DEBUG Selenium [:script] Using script for :isDisplayed 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/execute/sync 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/execute/sync | {"script":"/* isDisplayed */return ((function(){function d(t,e,n){function r(t){var e=x(t);if(0<e.height&&0<e.width)return!0;if(\"PATH\"==t.tagName.toUpperCase()&&(0<e.height||0<e.width)){var n=window.getComputedStyle(t)[\"stroke-width\"];return!!n&&0<parseInt(n,10)}return\"hidden\"!=window.getComputedStyle(t).overflow&&Array.prototype.slice.call(t.childNodes).some(function(t){return t.nodeType==Node.TEXT_NODE||t.nodeType==Node.ELEMENT_NODE&&r(t)})}function i(t){return C(t)==T.HIDDEN&&Array.prototype.slice.call(t.childNodes).every(function(t){return t.nodeType!=Node.ELEMENT_NODE||i(t)||!r(t)})}var o=t.tagName.toUpperCase();if(\"BODY\"==o)return!0;if(\"OPTION\"==o||\"OPTGROUP\"==o){var a=c(t,function(t){return\"SELECT\"==t.tagName.toUpperCase()});return!!a&&d(a,!0,n)}var u=s(t);if(u)return!!u.image&&0<u.rect.width&&0<u.rect.height&&d(u.image,e,n);if(\"INPUT\"==o&&\"hidden\"==t.type.toLowerCase())return!1;if(\"NOSCRIPT\"==o)return!1;var l=window.getComputedStyle(t).visibility;return\"collapse\"!=l&&\"hidden\"!=l&&(!!n(t)&&(!(!e&&0==f(t))&&(!!r(t)&&!i(t))))}function E(t){var e=x(t);return{left:e.left,right:e.left+e.width,top:e.top,bottom:e.top+e.height}}function D(t){return t.parentElement}function C(t){function e(t){function e(t){if(t==u)return!0;var e=window.getComputedStyle(t),n=e.display;return 0!=n.indexOf(\"inline\")&&\"contents\"!=n&&(\"absolute\"!=r||\"static\"!=e.position)}var r=window.getComputedStyle(t).position;if(\"fixed\"==r)return i=!0,t==u?null:u;for(var n=D(t);n&&!e(n);)n=D(n);return n}function n(t){var e=t;if(\"visible\"==d)if(t==u&&l)e=l;else if(t==l)return{x:\"visible\",y:\"visible\"};var n=window.getComputedStyle(e),r={x:n[\"overflow-x\"],y:n[\"overflow-y\"]};return t==u&&(r.x=\"visible\"==r.x?\"auto\":r.x,r.y=\"visible\"==r.y?\"auto\":r.y),r}function r(t){return t==u?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop}}for(var i,o=E(t),a=t.ownerDocument,u=a.documentElement,l=a.body,d=window.getComputedStyle(u).overflow,f=e(t);f;f=e(f)){var h=n(f);if(\"visible\"!=h.x||\"visible\"!=h.y){var s=x(f);if(0==s.width||0==s.height)return T.HIDDEN;var p=o.right<s.left,c=o.bottom<s.top;if(p&&\"hidden\"==h.x||c&&\"hidden\"==h.y)return T.HIDDEN;if(p&&\"visible\"!=h.x||c&&\"visible\"!=h.y){var v=r(f),g=o.right<s.left-v.x,w=o.bottom<s.top-v.y;return g&&\"visible\"!=h.x||w&&\"visible\"!=h.x?T.HIDDEN:C(f)==T.HIDDEN?T.HIDDEN:T.SCROLL}var N=o.left>=s.left+s.width,m=o.top>=s.top+s.height;if(N&&\"hidden\"==h.x||m&&\"hidden\"==h.y)return T.HIDDEN;if(N&&\"visible\"!=h.x||m&&\"visible\"!=h.y){if(i){var y=r(f);if(o.left>=u.scrollWidth-y.x||o.right>=u.scrollHeight-y.y)return T.HIDDEN}return C(f)==T.HIDDEN?T.HIDDEN:T.SCROLL}}}return T.NONE}function o(t){var e=t.document.documentElement;return{width:e.clientWidth,height:e.clientHeight}}function p(t,e,n,r){return{left:t,top:e,width:n,height:r}}function x(t){var e,n=s(t);if(n)return n.rect;if(\"HTML\"==t.tagName.toUpperCase()){t.ownerDocument;var r=o(window);return p(0,0,r.width,r.height)}try{e=t.getBoundingClientRect()}catch(i){return p(0,0,0,0)}return p(e.left,e.top,e.right-e.left,e.bottom-e.top)}function f(t){var e=1,n=window.getComputedStyle(t).opacity;n&&(e=Number(n));var r=D(t);return r&&r.nodeType==Node.ELEMENT_NODE&&(e*=f(r)),e}function h(t){var e=t.shape.toLowerCase(),n=t.coords.split(\",\");if(\"rect\"==e&&4==n.length){var r=n[0],i=n[1];return p(r,i,n[2]-r,n[3]-i)}if(\"circle\"==e&&3==n.length){var o=n[0],a=n[1],u=n[2];return p(o-u,a-u,2*u,2*u)}if(\"poly\"==e&&2<n.length){for(var l=n[0],d=n[1],f=l,h=d,s=2;s+1<n.length;s+=2)l=Math.min(l,n[s]),f=Math.max(f,n[s]),d=Math.min(d,n[s+1]),h=Math.max(h,n[s+1]);return p(l,d,f-l,h-d)}return p(0,0,0,0)}function s(t){var e=t.tagName.toUpperCase(),n=\"MAP\"==e;if(!n&&\"AREA\"!=e)return null;var r=n?t:\"MAP\"==D(t).tagName.toUpperCase()?D(t):null,i=null,o=null;if(r&&r.name&&((i=r.ownerDocument.querySelector(\"*[usemap='#\"+r.name+\"']\"))&&(o=x(i),!n&&\"default\"!=t.shape.toLowerCase()))){var a=h(t),u=Math.min(Math.max(a.left,0),o.width),l=Math.min(Math.max(a.top,0),o.height),d=Math.min(a.width,o.width-u),f=Math.min(a.height,o.height-l);o=p(u+o.left,l+o.top,d,f)}return{image:i,rect:o||p(0,0,0,0)}}function c(t,e){for(t&&(t=D(t));t;){if(e(t))return t;t=D(t)}return null}function r(t){var e=t.parentNode;if(e&&e.shadowRoot&&t.assignedSlot!==undefined)return t.assignedSlot?t.assignedSlot.parentNode:null;if(t.getDestinationInsertionPoints){var n=t.getDestinationInsertionPoints();if(0<n.length)return n[n.length-1]}return e}var T={NONE:\"none\",HIDDEN:\"hidden\",SCROLL:\"scroll\"};return function i(t,e){function n(t){if(\"none\"==window.getComputedStyle(t).display)return!1;var e=r(t);if(\"function\"==typeof ShadowRoot&&e instanceof ShadowRoot){if(e.host.shadowRoot!==e)return!1;e=e.host}return!(!e||e.nodeType!=Node.DOCUMENT_NODE&&e.nodeType!=Node.DOCUMENT_FRAGMENT_NODE)||!(e&&e.tagName&&\"DETAILS\"==e.tagName.toUpperCase()&&!e.open&&\"SUMMARY\"!=t.tagName)&&(e&&n(e))}return d(t,!!e,n)}})()).apply(null, arguments)","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.53B26804A39BACE350853E89767D62CF.d.0BF099876D7290FADA8AC21FCF138586.e.3"}]} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"5121"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["14"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":true} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/execute/sync 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/execute/sync | {"script":"return arguments[0].matches(':disabled, select:disabled *')","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.53B26804A39BACE350853E89767D62CF.d.0BF099876D7290FADA8AC21FCF138586.e.3"}]} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"197"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["15"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":false} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/execute/sync 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/execute/sync | {"script":"return (function(el, names){\n  return names.map(function(name){\n    return el[name]\n  });\n})(arguments[0], arguments[1]);\n","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.53B26804A39BACE350853E89767D62CF.d.0BF099876D7290FADA8AC21FCF138586.e.3"},["tagName","type"]]} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"284"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["30"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":["INPUT","password"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/execute/sync 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/execute/sync | {"script":"arguments[0].select()","args":[{"element-6066-11e4-a52e-4f735466cecf":"f.53B26804A39BACE350853E89767D62CF.d.0BF099876D7290FADA8AC21FCF138586.e.3"}]} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"159"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["14"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":null} 
2025-11-26 11:46:31 ERROR Selenium [:file_detector] File detector only works with files. "test" isn`t a file! 
2025-11-26 11:46:31 DEBUG Selenium Saving screenshot to /myapp//myapp/tmp/screenshots/failures_test_can_fill_password.png
2025-11-26 11:46:31 DEBUG Selenium [:command] -> GET session/e2fc547e4689ccf8227f00acba0de375/screenshot 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["307248"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":"TRUNCATED_BECAUSE_WAY_TOO_LONG"} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/se/log 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/se/log | {"type":"browser"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"18"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["418"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":[{"level":"WARNING","message":"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js 9:932 \"GSAP target #logo-new-box not found. https://gsap.com\"","source":"console-api","timestamp":1764153991038},{"level":"WARNING","message":"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js 9:932 \"GSAP target #logo-new-text not found. https://gsap.com\"","source":"console-api","timestamp":1764153991038}]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> GET session/e2fc547e4689ccf8227f00acba0de375/window/handles 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["46"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":["53B26804A39BACE350853E89767D62CF"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/window 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/window | {"handle":"53B26804A39BACE350853E89767D62CF"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"45"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["14"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":null} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> GET session/e2fc547e4689ccf8227f00acba0de375/window/handles 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["46"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":["53B26804A39BACE350853E89767D62CF"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/url 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/url | {"url":"about:blank"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"21"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["14"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":null} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/elements 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/elements | {"using":"xpath","value":"/html/body/*"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"40"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["12"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":[]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> POST session/e2fc547e4689ccf8227f00acba0de375/goog/cdp/execute 
2025-11-26 11:46:31 DEBUG Selenium [:command]    >>> http://selenium:4444/session/e2fc547e4689ccf8227f00acba0de375/goog/cdp/execute | {"cmd":"Storage.clearDataForOrigin","params":{"origin":"*","storageTypes":"cookies,local_storage"}} 
2025-11-26 11:46:31 DEBUG Selenium [:header]      > {"Accept"=>"application/json", "Content-Type"=>"application/json; charset=UTF-8", "User-Agent"=>"selenium/4.32.0 (ruby linux)", "Content-Length"=>"99"} 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["12"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":{}} 
2025-11-26 11:46:31 DEBUG Selenium [:command] -> DELETE session/e2fc547e4689ccf8227f00acba0de375 
2025-11-26 11:46:31 DEBUG Selenium [:header]    <<<  {"content-length"=>["14"], "content-type"=>["application/json; charset=utf-8"], "cache-control"=>["no-cache"]} 
2025-11-26 11:46:31 DEBUG Selenium [:command] <- {"value":null} 

LeEnno avatar Nov 26 '25 10:11 LeEnno

@LeEnno Can you post a standalone script that just uses Selenium (without capybara or whatever framework you are using) and accesses a public website? ... and include the full stacktrace when you get the error.

cgoldberg avatar Nov 26 '25 13:11 cgoldberg

This issue was closed because we did not receive any additional information after 14 days.

github-actions[bot] avatar Dec 10 '25 20:12 github-actions[bot]