blob: e746cff0a80c1987279ce3feca8d2dba27cb3bac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module QA
module Page
module Main
class OAuth < Page::Base
def needs_authorization?
page.current_url.include?('/oauth')
end
def authorize!
click_button 'Authorize'
end
end
end
end
end
|