Closed MoHabib88 closed 7 years ago
@mohdhm Look at the this post : http://stackoverflow.com/questions/41682518/unable-to-find-field-q-capybaraelementnotfound-via-fill-in
That's my post :)
On 2 Mar 2017 09:45, "Sudhansu Singh" notifications@github.com wrote:
@mohdhm https://github.com/mohdhm Look at the this post : http://stackoverflow.com/questions/41682518/unable-to-find-field-q- capybaraelementnotfound-via-fill-in
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jmopr/job-hunter/issues/10#issuecomment-283725836, or mute the thread https://github.com/notifications/unsubscribe-auth/AWd_oCa67D_aPXy_4Xc2-TdpDk5FDPhTks5rhwBHgaJpZM4K3dT9 .
@mohdhm looks like @moharnab123saikia might have fixed your problem?
@abunsen yes it did fix the problem, sorry for not closing this earlier
OS: Ubuntu
Seems like boxboi1471 and I, have a similar problem with a different error message:
After I fill in
and Click "Find Jobs", No Jobs are displayed. The page refreshes and erases all entered information with no hits.
Started GET "/search?utf8=%E2%9C%93&title=Engineer&location=CA&pages=10&indeed_scraper=1&commit=Find+Jobs" for 127.0.0.1 at 2016-11-19 21:00:26 -0800 Processing by JobsController#search as HTML Parameters: {"utf8"=>"✓", "title"=>"Engineer", "location"=>"CA", "pages"=>"10", "indeed_scraper"=>"1", "commit"=>"Find Jobs"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Running via Spring preloader in process 2763 /var/lib/gems/2.3.0/gems/capybara-2.7.0/lib/capybara/node/finders.rb:44:in'
from scraper.rb:138:in '
Redirected to http://localhost:3000/users/jobs
Completed 302 Found in 8221ms (ActiveRecord: 0.2ms)
block in find': Unable to find field "q" (Capybara::ElementNotFound) from /var/lib/gems/2.3.0/gems/capybara-2.7.0/lib/capybara/node/base.rb:85:in
synchronize' from /var/lib/gems/2.3.0/gems/capybara-2.7.0/lib/capybara/node/finders.rb:33:infind' from /var/lib/gems/2.3.0/gems/capybara-2.7.0/lib/capybara/node/actions.rb:59:in
fill_in' from /var/lib/gems/2.3.0/gems/capybara-2.7.0/lib/capybara/session.rb:699:inblock (2 levels) in <class:Session>' from /var/lib/gems/2.3.0/gems/capybara-2.7.0/lib/capybara/dsl.rb:52:in
block (2 levels) inperform_search' from scraper.rb:33:in
scrape' from scraper.rb:145:in<top (required)>' from /var/lib/gems/2.3.0/gems/railties-4.2.5.1/lib/rails/commands/runner.rb:60:in
load' from /var/lib/gems/2.3.0/gems/railties-4.2.5.1/lib/rails/commands/runner.rb:60:in<top (required)>' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inblock in require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inrequire' from /var/lib/gems/2.3.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:123:in
require_command!' from /var/lib/gems/2.3.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:90:inrunner' from /var/lib/gems/2.3.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:39:in
run_command!' from /var/lib/gems/2.3.0/gems/railties-4.2.5.1/lib/rails/commands.rb:17:in<top (required)>' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inblock in require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:inrequire' from /home/shap/Desktop/job-hunter-master/bin/rails:9:in
<top (required)>' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:inload' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in
block in load' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:inload_dependency' from /var/lib/gems/2.3.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in
load' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /usr/local/lib/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require' from -e:1:in `