- reset!
	強行復位browser
	browser.reset!
	- status
	返回狀態(tài)欄的內(nèi)容
	browser.status
	- text
	返回頁面body中的文本內(nèi)容
	browser.text
	- title
	返回頁面的title內(nèi)容
	browser.title
	=> "google"
	- url
	返回當前的url值
	browser.url
	=> "http://www.google.com.hk/"
	- wait(timeout = 5)
	頁面在ready status出現(xiàn)前(complete),等待指定的秒數(shù),默認5秒
	browser.wait(10)
	- window(*args, &blk)
	返回指定的browser所含的window
	browser.window(:title, 'Google')
	- windows(*arg)
	返回指定browser的window集合
	browser.windows(:title, 'Google')
	- wait_until(*arg, &blk)
	頁面在條件滿足前等待
	browser.wait_until(:title, 'Google')
	- wait_while(*arg, &blk)
	頁面在條件滿足時等待
	browser.wait_while(:title, 'Google')
	
	Button
	- enalbed?
	是否可以點擊
	browser.button(:id, 'btkn').enabled?
	- text
	返回tag為<button>的文本值
	browser.button(:id, 'button').text
	- value
	返回tag為<input>的button類型的值
	browser.button(:id, 'inputbutton').value
	
	Checkbox
	-clear
	清除checked狀態(tài),變?yōu)閡nchecked
	browser.checkbox(:id, 'check1').clear
	-set(bool= true)
	設置狀態(tài),checked/unchecked
	browser.checkbox(:id, 'check1').set#checked
	browser.checkbox(:id, 'check1').set(false)#unchecked
	-set?
	判斷checked狀態(tài)
	browser.checkbox(:id, 'check1').set?
	=> false #unchecked
	 
Cookie
	- add(name, value, pts = {})
	添加一個cookie到當前browser
	browser.cookies.add('my_session', 'testcookie', :secure => true)
	pts= :secure/:path/:expires /:domain
	- clear
	清除當前browser的所有cookie
	browser.cookies.clear
	- delete
	刪除一個指定名字的cookie
	browser.cookies.delete('my_session')
	- to_a
	當前browser的所有cookie生成一個數(shù)組
	browser.cookies.to_a