|
{"name"=>"visit", "args"=>["http://www.google.com/"]} |
|
{"response"=>"success"} |
|
{"name"=>"find", "args"=>[".//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'q' or ./@name = 'q') or ./@id = //label[normalize-space(string(.)) = 'q']/@for)] | .//label[normalize-space(string(.)) = 'q']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')]", nil]} |
|
{"response"=>[0]} |
|
{"name"=>"visible", "args"=>[0]} |
|
{"response"=>true} |
|
{"name"=>"tag_name", "args"=>[0]} |
|
{"response"=>"INPUT"} |
|
{"name"=>"attribute", "args"=>[0, :type]} |
|
{"response"=>""} |
|
{"name"=>"set", "args"=>[0, "github poltergeist"]} |
|
{"response"=>true} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or ./@value = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK'] | .//button[(((./@id = 'btnK' or ./@value = 'btnK') or normalize-space(string(.)) = 'btnK') or ./@title = 'btnK')] | .//input[./@type = 'image'][./@alt = 'btnK']", nil]} |
|
{"response"=>[]} |
|
{"name"=>"find", "args"=>[".//input[./@type = 'submit' or ./@type = 'image' or ./@type = 'button'][((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')] | .//button[(((./@id = 'btnK' or contains(./@value, 'btnK')) or contains(normalize-space(string(.)), 'btnK')) or contains(./@title, 'btnK'))] | .//input[./@type = 'image'][contains(./@alt, 'btnK')]", nil]} |
|
{"response"=>[]} |
|
{"name"=>"reset", "args"=>[]} |
|
{"response"=>true} |
|
F |
|
|
|
Failures: |
|
|
|
1) poltergeist should find github poltergeist in google |
|
Failure/Error: click_button "btnK" |
|
Capybara::ElementNotFound: |
|
no button with value or id or text 'btnK' found |
|
# (eval):2:in `click_button' |
|
# ./spec_acceptance/acceptance/transactions/google_poltergeist_spec.rb:17:in `block (2 levels) in <top (required)>' |
|
|
|
Finished in 7.32 seconds |
|
1 example, 1 failure |
|
|
|
Failed examples: |
|
|
|
rspec ./spec_acceptance/acceptance/transactions/google_poltergeist_spec.rb:13 # poltergeist should find github poltergeist in google |
|
rspec -I spec_acceptance 4.92s user 1.21s system 64% cpu 9.519 total |
on google_poltergeist_spec.rb. line: 17
find_button("btnk").trigger('click')
might work this way