Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iphone_rusher.rb:121:in select_store': undefined method click' for nil:NilClass (NoMethodError) #2

Open
tian4546 opened this issue Oct 22, 2021 · 3 comments

Comments

@tian4546
Copy link

iphone_rusher.rb:121:in select_store': undefined method click' for nil:NilClass (NoMethodError)
from iphone_rusher.rb:100:in refresh_until' from iphone_rusher.rb:18:in rush'
from iphone_rusher.rb:140:in `

'

@tian4546
Copy link
Author

image
driver.find_elements(css: '.as-storelocator-searchresultlist .as-storelocator-searchitem').first.click 这2个样式class 搜索这个页面没有

@pulltheflower
Copy link
Owner

这个问题应该是有时候商店列表刷新之后没有显示出来,已经加上了判断,只有在有这个元素的时候才停止刷新

@pulltheflower
Copy link
Owner

3aa4eaa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants