{"id":15600655,"url":"https://github.com/dougal/capybara-webkit-issue-704","last_synced_at":"2025-07-29T03:39:33.909Z","repository":{"id":25502011,"uuid":"28933378","full_name":"dougal/capybara-webkit-issue-704","owner":"dougal","description":"Example app to demonstrate Capybara-Webkit Issue #704","archived":false,"fork":false,"pushed_at":"2017-10-21T16:42:30.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T12:30:32.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dougal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-07T20:48:31.000Z","updated_at":"2017-10-21T16:42:32.000Z","dependencies_parsed_at":"2022-07-24T20:32:29.894Z","dependency_job_id":null,"html_url":"https://github.com/dougal/capybara-webkit-issue-704","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougal%2Fcapybara-webkit-issue-704","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougal%2Fcapybara-webkit-issue-704/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougal%2Fcapybara-webkit-issue-704/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dougal%2Fcapybara-webkit-issue-704/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dougal","download_url":"https://codeload.github.com/dougal/capybara-webkit-issue-704/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247288556,"owners_count":20914393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T02:05:20.019Z","updated_at":"2025-04-05T04:25:16.835Z","avatar_url":"https://github.com/dougal.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Issue is now fixed!\n\nCapybara-Webkit [Issue #704 - `type` property of file field is empty](https://github.com/thoughtbot/capybara-webkit/issues/704)\n===================================================================\n\nSetup\n-----\n\nRuby version is MRI 2.2.0, as described by .ruby-version.\n\nRun bundle install to install dependencies:\n\n    bundle install\n\n\nRunning the app manually to see correct response\n------------------------------------------------\n\n  1. Run the server: `bundle exec rackup`\n\n  2. Navigate to [http://localhost:9292/](http://localhost:9292/)\n\n  3. Select any file using the file field.\n\n  4. Click the `Show Type` button.\n\n  5. The type of the file will be outputted to the browser's console.\n\nRunning Specs\n-------------\n\n    bundle exec rake spec\n\n\nWhat's going on?\n----------------\n\nThe app is a single page, which when a file is selected, and the button\nclicked, uses JavaScript to output the file's mime type to the browser console.\n\nThe spec does the same, and reads the browser console to look for the correct\nmime type.\n\nWhen run using Capybara-Webkit, the `type` field of the file is returned as an\nempty string.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougal%2Fcapybara-webkit-issue-704","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdougal%2Fcapybara-webkit-issue-704","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdougal%2Fcapybara-webkit-issue-704/lists"}