J
Jerry Lane
I am trying to use this but not sure how to implement it. I just want to
check after x seconds if page is loading so was trying something like:
sleep (10)
pageCheck = READYSTATE_COMPLETE = 4
if pageCheck = true
puts 'test passed'
else
puts 'epic fail'
end
Any ideas where I am going disasterously wrong?
check after x seconds if page is loading so was trying something like:
sleep (10)
pageCheck = READYSTATE_COMPLETE = 4
if pageCheck = true
puts 'test passed'
else
puts 'epic fail'
end
Any ideas where I am going disasterously wrong?