请描述您的问题
标题:年底大酬宾-腾讯云
地址:https://cloud.tencent.com/act/bargin
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
我正在使用Capybara刮一个网站,其中一个动作是点击一个按钮。有时凯巴拉点击它,而另一些时候是给这个错误。
/Users/maximushan/.rvm/gems/ruby-2.4.2/gems/poltergeist-1.18.1/lib/capybara/poltergeist/node.rb:25:in `rescue in command': Firing a click at co-ordinates [632.5, 546.5] failed. Poltergeist detected another element with CSS selector 'htm
JS
var location_input = document.getElementById('location');
var autocomplete = new google.maps.places.Autocomplete(location_input);
google.maps.event.addListener(autocomplete, 'place_changed', function(){
alert('here');
console.log('here');
});
HTML
{{Form::inpu