Fix intermittent "RegexpError (regular expression too big)" errors when using Selenium.
Fix intermittent "RegexpError (regular expression too big)" errors when
using Selenium.

The problem stems from session.rb where the has_xpath? method keeps
searching for results.  Every time this statement executes the
options[:text] inside of searchable.rb would be re-escaped resulting in a larger and larger
regular expression. If it takes Selenium too long to respond,
eventually a RegexpError is raised.

Bartuz/capybara,gonzedge/capybara,ducthanh/capybara,ksmaheshkumar/capybara,sideci-sample/sideci-sample-capybara,mlarraz/capybara,soutaro/capybara,olivierlacan/capybara,jillianrosile/capybara,randoum/capybara,benlovell/capybara,tjouan/capybara,DariaKalynovska/capybara,irfanah/capybara,twalpole/capybara,twalpole/capybara,soutaro/capybara,soutaro/capybara,twalpole/capybara,olivierlacan/capybara,ducthanh/capybara,khaidpham/capybara,y-yagi/capybara,shepmaster/capybara,y-yagi/capybara,shepmaster/capybara,ngpestelos/capybara,mreinsch/capybara,jnicklas/capybara,DariaKalynovska/capybara,tjouan/capybara,Bartuz/capybara,sideci-sample/sideci-sample-capybara,tjgrathwell/capybara,randoum/capybara,pombredanne/capybara,pombredanne/capybara,mohanraj1311/capybara,wenbofantasy/capybara,jarib/capybara,jnicklas/capybara,benlovell/capybara,randoum/capybara,teamcapybara/capybara,teamcapybara/capybara,gonzedge/capybara,y-yagi/capybara,mlarraz/capybara,mreinsch/capybara,jnicklas/capybara,shepmaster/capybara,ksmaheshkumar/capybara,ngpestelos/capybara,irfanah/capybara,ngpestelos/capybara,wenbofantasy/capybara,mlarraz/capybara,mohanraj1311/capybara,Bartuz/capybara,gonzedge/capybara,jillianrosile/capybara,tjgrathwell/capybara,irfanah/capybara,DariaKalynovska/capybara,ducthanh/capybara,jillianrosile/capybara,tjouan/capybara,teamcapybara/capybara,tjgrathwell/capybara,olivierlacan/capybara,jarib/capybara,pombredanne/capybara,ksmaheshkumar/capybara,mohanraj1311/capybara,khaidpham/capybara,khaidpham/capybara